aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/skin/widgets/customobject.h
blob: 5cd6a3f3a4e330f2fd22b98b5d27248276be2ca0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#ifndef __CUSTOMOBJECT_H
#define __CUSTOMOBJECT_H

#include <bfc/dispatch.h>
#include <bfc/common.h>

class ifc_window;

// {F5527A4F-C910-48c2-A80B-98A60D317F35}
const GUID customObjectGuid = 
{ 0xf5527a4f, 0xc910, 0x48c2, { 0xa8, 0xb, 0x98, 0xa6, 0xd, 0x31, 0x7f, 0x35 } };


/**
  Class 

  @short 
  @author Nullsoft
  @ver 1.0
  @see 
*/
class CustomObject : public Dispatchable {
public:
  
  /**
    Method
  
    @see 
    @ret 
    @param 
  */
  void customobject_setRootWnd(ifc_window *w);
  
  enum {
    CUSTOMOBJECT_SETROOTWND=10,
    CUSTOMOBJECT_GETROOTWND=20,
  };
};

inline void CustomObject::customobject_setRootWnd(ifc_window *w) {
  
  /**
    Method
  
    @see 
    @ret 
    @param 
  */
  _voidcall(CUSTOMOBJECT_SETROOTWND, w);
}

/**
  Class 

  @short 
  @author Nullsoft
  @ver 1.0
  @see 
*/
class CustomObjectI : public CustomObject {
public:

  
  /**
    Method
  
    @see 
    @ret 
    @param 
  */
  virtual void customobject_setRootWnd(ifc_window *w)=0;

protected:
  RECVS_DISPATCH;
};


#endif