source: pacpusframework/branches/2.0-beta1/include/Pacpus/kernel/PacpusApplication.h@ 89

Last change on this file since 89 was 89, checked in by morasjul, 11 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1// %pacpus:license{
2// This file is part of the PACPUS framework distributed under the
3// CECILL-C License, Version 1.0.
4// %pacpus:license}
5/// @file
6/// @author Marek Kurdej <firstname.surname@utc.fr>
7/// @date March, 2013
8/// @version $Id$
9/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
10/// @brief Generic ComponentBase class. This is an abstract class.
11///
12/// Detailed description.
13
14#ifndef PACPUSAPPLICATION_H
15#define PACPUSAPPLICATION_H
16
17#include <QApplication>
18
19namespace pacpus {
20
21class PACPUSLIB_API PacpusApplication
22 : public QApplication
23{
24public:
25#ifndef qdoc
26 PacpusApplication(int &argc, char **argv, int = ApplicationFlags);
27// PacpusApplication(int &argc, char **argv, bool GUIenabled, int = ApplicationFlags);
28// PacpusApplication(int &argc, char **argv, Type, int = ApplicationFlags);
29#if defined(Q_WS_X11)
30 PacpusApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0, int = ApplicationFlags);
31 PacpusApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0, int = ApplicationFlags);
32#endif
33#if defined(Q_OS_SYMBIAN)
34 PacpusApplication(QApplication::QS60MainApplicationFactory factory, int &argc, char **argv, int = ApplicationFlags);
35#endif
36#endif
37
38 virtual ~PacpusApplication();
39
40 virtual bool notify(QObject * receiver, QEvent * ev);
41};
42
43} //namespace pacpus
44
45#endif // PACPUSAPPLICATION_H
Note: See TracBrowser for help on using the repository browser.