![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |
#include <SFCApplication.h.hpp>
class SFCApplication : public SFCInvoker;
SFMTYPEDEFCLASS(SFCApplication)


This class is used to create a application without responder.
| Constructor/Destructor |
|---|
|
SFCApplication( Void ) Constructor of SFCApplication class.
|
|
~SFCApplication( Void ) Destructor of SFCApplication class.
|
| Public Functions | |
|---|---|
| static AEECLSID |
GetClassID( Void ) Get the ClassID of application.
|
| static SFCApplicationPtr |
GetInstance( Void ) Get the instance of application.
|
| Bool |
Invoke(
SFXEventConstRef event
) Send the specified event.
|
| static SFCError |
Terminate(
Bool idle = false
) Terminate the application.
|
[ protected, explicit ] SFCApplication(Void);
[ protected, virtual ] ~SFCApplication(Void);
[ public, static ] AEECLSID GetClassID(Void);
[ public, static ] SFCApplicationPtr GetInstance(Void);
![]() |
Note |
|---|---|
|
The SFCApplication::GetInstance function calls the GETAPPINSTANCE function of BREW API internally Therefore, when the return value of GETAPPINSTANCE function is null, that of SFCApplication::GetInstance function is also null. | |
[ public, virtual ] Bool Invoke( SFXEventConstRef event // event );
To change the method to handle the specified event, override the SFCApplication::Invoke function.
[ public, static ] SFCError Terminate( Bool idle = false // whether or not to terminate all the BREW application (this argument is effect only on a real device) );
The SFCApplication::Terminate function terminates the BREW applications that are currently active.
If the "idle" argument is set to true, all the BREW applications are terminated and the screen to wait for call appears.
If the "idle" argument is set to false, only the BREW applications that are currently active are terminated and the screen to select a BREW application appears.
|
Copyright (C) 2002 - 2008 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|