Index

# XApplication

XProcess &rarrXApplication

public
- GetResourceLibrary
- constructors/destructors
- XApplication
- ~XApplication
- initiate/terminate a process
- Terminate

#### Derrived

: public XProcess

## public

###

GetResourceLibrary

An application creates a resource library when the application is constructed out of the resources which are binded to the exe-file. GetResourceLibrary returns the pointer to this resource library.

#### Definition

`

XResourceLibrary* GetResourceLibrary ( void )

`

#### Returns

XResourceLibrary * The XResourceLibrary the application created when it starts up

XResourceLibrary*

## constructors/destructors

###

XApplication

The constructor of XApplication initializes a stand-alone process an creates a XResourceLibrary with the resources which are linked to the exe-file. The XResourceLibrary can be accessed with GetResourceLibrary(). If a XApplication is constructed und youïve set up your mainwindow, call Start() to run the application.

#### Definition

`

XApplication ( )

`

#### Returns

-

###

~XApplication

destructs the application and the resource library. WARNING: to terminate an application, call Terminate(), never the destructor!

#### Definition

`

~XApplication ( )

virtual ~XApplication ( )

`

#### Returns

-

## initiate/terminate a process

###

Terminate

With this method an application can be terminated. If you call Terminate() the method QueryForQuit() will not be called.

#### Definition

`

void Terminate ( void )

virtual void Terminate ( void )

`

#### Returns

void

Created by AutoDoc, (C) 1996 by Jens von Pilgrim