COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coAbstractTabletUI.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef CO_ABSTRACT_TABLET_UI_H
9 #define CO_ABSTRACT_TABLET_UI_H
10 
24 #include <util/coExport.h>
25 
26 namespace covise
27 {
28 class coAbstractTabletUI;
29 class coAbstractTUIElement;
30 class ClientConnection;
31 class TokenBuffer;
32 class Message;
33 
36 {
37 public:
42  {
43  }
44 #if 0
45  virtual void tabletEvent(coAbstractTUIElement* tUIItem) = 0;
46  virtual void tabletPressEvent(coAbstractTUIElement* tUIItem) = 0;
47  virtual void tabletSelectEvent(coAbstractTUIElement* tUIItem) = 0;
48  virtual void tabletFindEvent(coAbstractTUIElement* tUIItem) = 0;
49  virtual void tabletReleaseEvent(coAbstractTUIElement* tUIItem) = 0;
50  virtual void tabletCurrentEvent(coAbstractTUIElement* tUIItem) = 0;
51 #endif
52 };
53 
59 {
60 public:
62  {
63  }
64  virtual void update() = 0;
65 };
66 
71 {
72 public:
74  {
75  }
76  virtual void parseMessage(TokenBuffer &tb) = 0;
77  virtual void resend() = 0;
78  virtual void setPos(int, int) = 0;
79  virtual void setSize(int, int) = 0;
80  virtual void setLabel(const char *l) = 0;
82 };
83 
88 {
89 public:
91  {
92  OPEN = 1,
93  SAVE = 2
94  };
96  {
97  }
98  virtual void setDirList(Message &ms) = 0;
99  virtual void setFileList(Message &ms) = 0;
100  virtual void setCurDir(Message &msg) = 0;
101  virtual void setCurDir(const char *dir) = 0;
102  virtual void resend() = 0;
103  virtual void parseMessage(TokenBuffer &tb) = 0;
104  virtual void setDrives(Message &ms) = 0;
105  virtual void setClientList(Message &msg) = 0;
106 };
107 }
108 #endif
virtual void setDrives(Message &ms)=0
virtual void parseMessage(TokenBuffer &tb)=0
Definition: coAbstractTabletUI.h:58
Action listener for events triggered by any coAbstractTUIElement.
Definition: coAbstractTabletUI.h:35
DialogMode
Definition: coAbstractTabletUI.h:90
virtual ~coAbstractTabletUI()
Definition: coAbstractTabletUI.h:61
virtual void setSize(int, int)=0
virtual void setDirList(Message &ms)=0
Definition: message.h:111
virtual void parseMessage(TokenBuffer &tb)=0
virtual void setFileList(Message &ms)=0
virtual coAbstractTUIListener * getMenuListener()=0
Definition: coAbstractTabletUI.h:87
Definition: tokenbuffer.h:73
Definition: coAbstractTabletUI.h:93
virtual ~coAbstractTUIFileBrowserButton()
Definition: coAbstractTabletUI.h:95
virtual ~coAbstractTUIListener()
Definition: coAbstractTabletUI.h:41
virtual void update()=0
virtual void setPos(int, int)=0
virtual void setClientList(Message &msg)=0
virtual ~coAbstractTUIElement()
Definition: coAbstractTabletUI.h:73
Definition: coAbstractTabletUI.h:92
Definition: coAbstractTabletUI.h:70
virtual void setCurDir(Message &msg)=0
virtual void setLabel(const char *l)=0