libyui-qt
2.49.2
YQGraphPluginStub.h
1
/*
2
Copyright (C) 2000-2012 Novell, Inc
3
This library is free software; you can redistribute it and/or modify
4
it under the terms of the GNU Lesser General Public License as
5
published by the Free Software Foundation; either version 2.1 of the
6
License, or (at your option) version 3.0 of the License. This library
7
is distributed in the hope that it will be useful, but WITHOUT ANY
8
WARRANTY; without even the implied warranty of MERCHANTABILITY or
9
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10
License for more details. You should have received a copy of the GNU
11
Lesser General Public License along with this library; if not, write
12
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13
Floor, Boston, MA 02110-1301 USA
14
*/
15
16
17
/*-/
18
19
File: YQGraphPluginStub.h
20
21
Author: Arvin Schnell <aschnell@suse.de>
22
23
/-*/
24
25
#ifndef YQGraphPluginStub_h
26
#define YQGraphPluginStub_h
27
28
#include <yui/YGraphPlugin.h>
29
#include <yui/YDialog.h>
30
#include <yui/YEvent.h>
31
32
#include "YQGraphPluginIf.h"
33
34
35
/**
36
* Simplified access to the package selector plugin.
37
**/
38
class
YQGraphPluginIf
;
39
40
41
class
YQGraphPluginStub
:
public
YGraphPlugin
42
{
43
public
:
44
/**
45
* Constructor: Load the plugin library for the package selector.
46
**/
47
YQGraphPluginStub
();
48
49
/**
50
* Destructor.
51
**/
52
virtual
~YQGraphPluginStub
();
53
54
/**
55
* Create a package selector.
56
* Implemented from YGraphPlugin.
57
*
58
* This might return 0 if the plugin lib could not be loaded or if the
59
* appropriate symbol could not be located in the plugin lib.
60
**/
61
virtual
YGraph *
createGraph
( YWidget * parent,
const
std::string & filename,
62
const
std::string & layoutAlgorithm );
63
64
virtual
YGraph *
createGraph
( YWidget * parent,
/* graph_t */
void
* graph );
65
66
YQGraphPluginIf
* impl;
67
};
68
69
70
#endif // YQGraphPluginStub_h
YQGraphPluginStub::createGraph
virtual YGraph * createGraph(YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)
Create a package selector.
Definition:
YQGraphPluginStub.cc:58
YQGraphPluginIf
Definition:
YQGraphPluginIf.h:32
YQGraphPluginStub::YQGraphPluginStub
YQGraphPluginStub()
Constructor: Load the plugin library for the package selector.
Definition:
YQGraphPluginStub.cc:32
YQGraphPluginStub::~YQGraphPluginStub
virtual ~YQGraphPluginStub()
Destructor.
Definition:
YQGraphPluginStub.cc:51
YQGraphPluginStub
Definition:
YQGraphPluginStub.h:41
src
YQGraphPluginStub.h
Generated by
1.8.14