VideoTools
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
gvviewerwindowfactory.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2017 Graeme Walker
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
// ===
17
///
18
/// \file gvviewerwindowfactory.h
19
///
20
21
#ifndef GV_VIEWERWINDOWFACTORY__H
22
#define GV_VIEWERWINDOWFACTORY__H
23
24
#include "gdef.h"
25
#include "
gvviewerwindow.h
"
26
27
namespace
Gv
28
{
29
class
ViewerWindowFactory ;
30
}
31
32
/// \class Gv::ViewerWindowFactory
33
/// A factory class for Gv::ViewerWindow.
34
///
35
class
Gv::ViewerWindowFactory
36
{
37
public
:
38
static
ViewerWindow
*
create
(
ViewerWindow::Handler
& ,
ViewerWindowConfig
,
int
dx ,
int
dy ) ;
39
///< A factory function that returns a new'ed ViewerWindow.
40
///< As soon as it has been stored in a smart-pointer it should
41
///< have its init() method called.
42
} ;
43
44
#endif
Gv::ViewerWindow
An abstract base class for a viewer window.
Definition:
gvviewerwindow.h:76
gvviewerwindow.h
Gv::ViewerWindowFactory::create
static ViewerWindow * create(ViewerWindow::Handler &, ViewerWindowConfig, int dx, int dy)
A factory function that returns a new'ed ViewerWindow.
Gv::ViewerWindowConfig
A configuration structure for Gv::ViewerWindow.
Definition:
gvviewerwindow.h:37
Gv::ViewerWindowFactory
A factory class for Gv::ViewerWindow.
Definition:
gvviewerwindowfactory.h:35
Gv::ViewerWindowHandler
A callback interface for Gv::ViewerWindow.
Definition:
gvviewerwindow.h:48
src
gvideo
gvviewerwindowfactory.h
Generated by
1.8.6