source: Sophya/trunk/Poubelle/PI/pilistmac.h@ 222

Last change on this file since 222 was 222, checked in by ansari, 26 years ago

Creation module DPC/PI Reza 09/04/99

File size: 950 bytes
RevLine 
[222]1#ifndef PILISTMAC_H_SEEN
2#define PILISTMAC_H_SEEN
3
4#include "pilistgen.h"
5#include "pipplist.h"
6
7class PIListMac : public PIListGen {
8public:
9 PIListMac(PIContainerGen* par, char* nom,
10 int sx=100, int sy=100, int px=0, int py=0);
11 ~PIListMac();
12
13 virtual void AppendItem(const char * item, PIMessage msg);
14 virtual void DeleteItem(const char *item);
15 virtual void DeleteItem(PIMessage msg);
16
17 virtual void SetMultipleSelect(bool ms=false);
18
19 virtual int GetNbSelection();
20 virtual PIMessage GetSelection(int num=0);
21 virtual string GetSelectionStr(int num=0);
22
23 virtual void SelectItem(const char * item);
24 virtual void SelectItem(PIMessage msg);
25 virtual void ClearSelItem(const char * item);
26 virtual void ClearSelItem(PIMessage msg);
27
28
29protected:
30 PIPPList* mPIPPList;
31};
32
33typedef PIListMac PIList;
34
35#endif
Note: See TracBrowser for help on using the repository browser.