File: uiservice.h

package info (click to toggle)
aethera 0.9.3-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,588 kB
  • ctags: 7,282
  • sloc: cpp: 64,544; sh: 9,913; perl: 1,756; makefile: 1,680; python: 258
file content (36 lines) | stat: -rw-r--r-- 844 bytes parent folder | download
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
/***************************************************************************
                uiservice.h  -  the plug in support
                             -------------------
    begin                : Thu Jul  5 17:35:17 EEST 2001
    copyright            : (C) 2001 by Eugen C.
    email                : eug@thekompany.com
 ***************************************************************************/

#ifndef UIPLUGIN_H
#define UIPLUGIN_H

#include <kore/serviceprovider.h>
#include <qwidget.h>
#include <qstring.h>

#define UIPLUGIN_TYPE "AETHERA_UI"
#define UIPLUGIN_SERVICE "Kore/UI/Aethera"

using namespace kore;

class UIService: public ServiceProvider
{
  public:
    virtual QWidget* mainWindow( QWidget* parent = 0, const char* name = 0, QWidget::WFlags fl = 0) = 0;
    virtual QString mainIcon() const = 0;
};

#endif