OpenNet
Main Page
Related Pages
Classes
Files
File List
File Members
Includes
OpenNet
SetupTool.h
Go to the documentation of this file.
1
2
// Product OpenNet
3
8
9
#pragma once
10
11
// Includes
13
14
// ===== Includes ===========================================================
15
#include <
OpenNet/Status.h
>
16
17
namespace
OpenNet
18
{
19
20
// Class
22
29
class
SetupTool
30
{
31
32
public
:
33
43
static
OPEN_NET_PUBLIC
SetupTool
*
Create
(
bool
aDebug =
false
);
44
52
virtual
void
Delete
();
53
64
virtual
const
char
*
GetBinaryFolder
()
const
= 0;
65
76
virtual
const
char
*
GetIncludeFolder
()
const
= 0;
77
87
virtual
const
char
*
GetInstallFolder
()
const
= 0;
88
99
virtual
const
char
*
GetLibraryFolder
()
const
= 0;
100
111
virtual
bool
IsDebugEnabled
()
const
= 0;
112
121
virtual
Status
Install
() = 0;
122
131
virtual
Status
Uninstall
() = 0;
132
143
virtual
Status
Interactif_ExecuteCommand
(
unsigned
int
aCommand) = 0;
144
154
virtual
unsigned
int
Interactif_GetCommandCount
() = 0;
155
169
virtual
const
char
*
Interactif_GetCommandText
(
unsigned
int
aCommand) = 0;
170
184
virtual
Status
Wizard_ExecutePage
(
unsigned
int
* aPage,
unsigned
int
aButton) = 0;
185
198
virtual
unsigned
int
Wizard_GetPageButtonCount
(
unsigned
int
aPage) = 0;
199
214
virtual
const
char
*
Wizard_GetPageButtonText
(
unsigned
int
aPage,
unsigned
int
aButton) = 0;
215
226
virtual
unsigned
int
Wizard_GetPageCount
() = 0;
227
240
virtual
const
char
*
Wizard_GetPageText
(
unsigned
int
aPage) = 0;
241
254
virtual
const
char
*
Wizard_GetPageTitle
(
unsigned
int
aPage) = 0;
255
256
protected
:
257
258
SetupTool
();
259
260
virtual
~
SetupTool
();
261
262
private
:
263
264
SetupTool
(
const
SetupTool
&);
265
266
const
SetupTool
& operator = (
const
SetupTool
&);
267
268
};
269
270
}
OpenNet::SetupTool::Install
virtual Status Install()=0
Install.
OpenNet::SetupTool::Interactif_ExecuteCommand
virtual Status Interactif_ExecuteCommand(unsigned int aCommand)=0
Execute interactif command.
OpenNet::SetupTool
This class define the setup level interface.
Definition:
SetupTool.h:29
OpenNet
Definition:
Adapter.h:19
OpenNet::SetupTool::GetBinaryFolder
virtual const char * GetBinaryFolder() const =0
Retrieve the name of the folder containing binary files.
OpenNet::SetupTool::Wizard_GetPageTitle
virtual const char * Wizard_GetPageTitle(unsigned int aPage)=0
Retrieve the title of a wizard page.
OpenNet::SetupTool::Wizard_GetPageButtonText
virtual const char * Wizard_GetPageButtonText(unsigned int aPage, unsigned int aButton)=0
Retrieve the text of a button.
OpenNet::SetupTool::GetIncludeFolder
virtual const char * GetIncludeFolder() const =0
Retrieve the name of the folder containing header files.
OpenNet::SetupTool::Uninstall
virtual Status Uninstall()=0
Uninstall.
OpenNet::SetupTool::Delete
virtual void Delete()
Create an instance of SetupTool.
OpenNet::SetupTool::Wizard_GetPageButtonCount
virtual unsigned int Wizard_GetPageButtonCount(unsigned int aPage)=0
Retrieve the number of button on a wizard pages.
OpenNet::SetupTool::Wizard_ExecutePage
virtual Status Wizard_ExecutePage(unsigned int *aPage, unsigned int aButton)=0
Execute a wizard page.
OpenNet::SetupTool::GetInstallFolder
virtual const char * GetInstallFolder() const =0
Retrieve the name of the installation folder.
OpenNet::SetupTool::Wizard_GetPageCount
virtual unsigned int Wizard_GetPageCount()=0
Retrieve the number of wizard pages.
OpenNet::SetupTool::Create
static OPEN_NET_PUBLIC SetupTool * Create(bool aDebug=false)
Create an instance of SetupTool.
OpenNet::SetupTool::Interactif_GetCommandText
virtual const char * Interactif_GetCommandText(unsigned int aCommand)=0
Retrieve the text describing an interactif commands.
OpenNet::SetupTool::GetLibraryFolder
virtual const char * GetLibraryFolder() const =0
Retrieve the name of the folder containing library files.
Status.h
OpenNet::SetupTool::Wizard_GetPageText
virtual const char * Wizard_GetPageText(unsigned int aPage)=0
Retrieve the text of a wizard page.
OpenNet::SetupTool::Interactif_GetCommandCount
virtual unsigned int Interactif_GetCommandCount()=0
Retrieve the number of available interactif commands.
OpenNet::SetupTool::IsDebugEnabled
virtual bool IsDebugEnabled() const =0
Is the debug trace enabled?
Generated on Wed May 29 2019 09:27:15 for OpenNet by
1.8.9.1