]> git.sesse.net Git - vlc/blob - plugins/kde/kdeinterface.h
* Added error checking in pthread wrapper ; as a result, intf_msg.h must
[vlc] / plugins / kde / kdeinterface.h
1 /***************************************************************************
2                           kdeinterface.h  -  description
3                              -------------------
4     begin                : Sun Mar 25 2001
5     copyright            : (C) 2001 by andres
6     email                : dae@chez.com
7  ***************************************************************************/
8
9 #ifndef _KDEINTERFACE_H_
10 #define _KDEINTERFACE_H_
11
12 class KApplication;
13 class KInterfaceMain;
14 class KAboutData;
15
16 class KDEInterface
17 {
18         private:
19                 KDEInterface ( KDEInterface &kdeInterface ) {};
20                 KDEInterface &operator= ( KDEInterface &kdeInterface ) { return ( *this ); };
21                 
22         public:
23                 KDEInterface(intf_thread_t *p_intf);
24                 ~KDEInterface();
25
26                 // These methods get exported to the core
27                 static int              probe   ( probedata_t *p_data );
28                 static int              open    ( intf_thread_t *p_intf );
29                 static void     close   ( intf_thread_t *p_intf );
30                 static void     run             ( intf_thread_t *p_intf );
31         
32         private:
33                 KApplication            *fApplication;
34                 KInterfaceMain  *fWindow;
35                 KAboutData              *fAboutData;
36
37 };
38
39 #endif /* _KDEINTERFACE_H_ */