dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
iview.h
Go to the documentation of this file.
1
13
/*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful, but
20
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
* for more details.
23
*
24
* You should have received a copy of the GNU General Public License along
25
* with this program; if not, see <http://www.gnu.org/licenses/>
26
*/
27
28
#ifndef IVIEW_H
29
#define IVIEW_H
30
31
#include "
core_global.h
"
32
33
#include <
coreplugin/icontext.h
>
34
35
namespace
Core {
36
37
class
CORE_EXPORT
IView
:
public
IContext
38
{
39
Q_OBJECT
40
public
:
41
enum
ViewPosition
{ First = 0, Second = 1, Third = 2 };
42
43
IView
(QObject *parent =
nullptr
)
44
:
IContext
(parent)
45
{
46
}
47
virtual
~IView
() {}
48
49
virtual
const
char
*uniqueViewName()
const
= 0;
50
virtual
ViewPosition defaultPosition()
const
= 0;
51
};
52
53
}
// namespace Core
54
55
#endif // IVIEW_H
icontext.h
Core::IView::~IView
virtual ~IView()
Definition:
iview.h:47
Core::IContext
Definition:
icontext.h:40
core_global.h
Core::IView
Definition:
iview.h:37
Core::IView::IView
IView(QObject *parent=nullptr)
Definition:
iview.h:43
Core::IView::ViewPosition
ViewPosition
Definition:
iview.h:41
ground
gcs
src
plugins
coreplugin
iview.h
Generated by
1.8.6