sipXcallLib home page


PtPhoneDisplay.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 SIPfoundry Inc.
3 // Licensed by SIPfoundry under the LGPL license.
4 //
5 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // $$
10 
11 #ifndef _PtPhoneDisplay_h_
12 #define _PtPhoneDisplay_h_
13 
14 // SYSTEM INCLUDES
15 // APPLICATION INCLUDES
16 #include "ptapi/PtComponent.h"
17 #include "os/OsTime.h"
18 #include "os/OsProtectEventMgr.h"
19 // DEFINES
20 // MACROS
21 // EXTERNAL FUNCTIONS
22 // EXTERNAL VARIABLES
23 // CONSTANTS
24 // STRUCTS
25 // TYPEDEFS
26 // FORWARD DECLARATIONS
27 class TaoClientTask;
28 
29 
30 //:The PtPhoneDisplay class models the display device for a phone.
31 // It is the parent class for the PtPhoneTextDisplay and PtPhoneGraphicDisplay
32 // classes. The interface for this class has not yet been defined.
33 
35 {
36 /* //////////////////////////// PUBLIC //////////////////////////////////// */
37 public:
38 
39 /* ============================ CREATORS ================================== */
41 
43  //:Default constructor
44 
45  PtPhoneDisplay(const PtPhoneDisplay& rPtPhoneDisplay);
46  //:Copy constructor (not implemented for this class)
47 
49  //:Assignment operator (not implemented for this class)
50 
51  virtual
53  //:Destructor
54 
55 
56 /* ============================ MANIPULATORS ============================== */
57  PtStatus setContrast(int level);
58 
59 /* ============================ ACCESSORS ================================= */
60  PtStatus getContrast(int& rLevel, int& rLow, int& rHigh, int& rNominal);
61 
62 /* ============================ INQUIRY =================================== */
63 
64 /* //////////////////////////// PROTECTED ///////////////////////////////// */
65 protected:
66 
68 
69  OsTime mTimeOut;
70 
71 /* //////////////////////////// PRIVATE /////////////////////////////////// */
72 private:
73  OsProtectEventMgr *mpEventMgr;
74 
75 
76 };
77 
78 /* ============================ INLINE METHODS ============================ */
79 
80 #endif // _PtPhoneDisplay_h_
PtStatus
Definition: PtDefs.h:49
virtual ~PtPhoneDisplay()
Definition: PtPhoneDisplay.cpp:69
Definition: PtComponent.h:30
Definition: PtComponent.h:38
PtStatus setContrast(int level)
Definition: PtPhoneDisplay.cpp:93
PtPhoneDisplay & operator=(const PtPhoneDisplay &rhs)
Definition: PtPhoneDisplay.cpp:77
OsProtectEventMgr * mpEventMgr
Definition: PtPhoneDisplay.h:73
PtPhoneDisplay(TaoClientTask *pClient, int type=PtComponent::DISPLAY)
Definition: PtPhoneDisplay.cpp:45
TaoClientTask * mpClient
Definition: PtPhoneDisplay.h:67
Definition: PtPhoneDisplay.h:34
Definition: TaoClientTask.h:50
PtStatus getContrast(int &rLevel, int &rLow, int &rHigh, int &rNominal)
Definition: PtPhoneDisplay.cpp:141
OsTime mTimeOut
Definition: PtPhoneDisplay.h:69