class CApaCommandLine : public CBase |
Information for launching an application.
To start an application, passed a CApaCommandLine object to the RApaLsSession::StartApp() method.
This class is often referred to as a command line and contains: the name of an application EXE to be launched, a document name, a command code that defines the way the application is launched trailing data; the structure of this depends on the application to be launched.
To start an application, startup parameters are set on the CApaCommandLine object that is then externalized into a stream and attached to a new RProcess object. These parameters are then used to re-populate a new CApaCommandLine object inside the process by EikStart::RunApplication() and used to bootstrap the launching application.
Private Member Functions | |
---|---|
CApaCommandLine() | |
void | DoGetCommandLineFromProcessEnvironmentL() |
TInt | DoGetParametersFromCommandLineString(const TDesC &) |
void | ExternalizeL(RWriteStream &) |
void | InternalizeL(RReadStream &) |
HBufC * | NameOfExecutable(const TDesC &, TInt &) |
void | SetServerDifferentiatorL(TUint) |
HBufC8 * | StreamableAttributesLC() |
TPtrC | StripQuotes(const TDesC &) |
Public Member Enumerations | |
---|---|
enum | anonymous { EIpcFirstFreeSlot = 3 } |
IMPORT_C void | ConstructCmdLineFromMessageL | ( | const RMessage2 & | aMessage | ) |
const RMessage2 & aMessage |
TInt | DoGetParametersFromCommandLineString | ( | const TDesC & | aCmdLine | ) | [private] |
const TDesC & aCmdLine |
IMPORT_C TInt | EnvironmentSlotForPublicUse | ( | TInt | aIndex | ) | [static] |
TInt aIndex |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [private] |
RWriteStream & aStream |
IMPORT_C TInt | GetCommandLineFromProcessEnvironment | ( | CApaCommandLine *& | aCommandLine | ) | [static] |
CApaCommandLine *& aCommandLine |
IMPORT_C void | GetIpcArgsLC | ( | TIpcArgs & | aIpcArgs | ) | const |
TIpcArgs & aIpcArgs |
void | InternalizeL | ( | RReadStream & | aStream | ) | [private] |
RReadStream & aStream |
HBufC * | NameOfExecutable | ( | const TDesC & | aCmdLine, |
TInt & | aEndDocNameOffset | |||
) | [private, static] |
IMPORT_C void | SetAppStartupInstrumentationEventIdBaseL | ( | TInt | aEventIdBase | ) |
TInt aEventIdBase |
IMPORT_C void | SetCommandL | ( | TApaCommand | aCommand | ) |
TApaCommand aCommand |
IMPORT_C void | SetDebugMemFailL | ( | TInt | aDebugMemFail | ) |
TInt aDebugMemFail |
IMPORT_C void | SetDefaultScreenL | ( | TInt | aDefaultScreenNumber | ) |
TInt aDefaultScreenNumber |
IMPORT_C void | SetDocumentNameL | ( | const TDesC & | aDocName | ) |
const TDesC & aDocName |
IMPORT_C void | SetExecutableNameL | ( | const TDesC & | aAppName | ) |
const TDesC & aAppName |
IMPORT_C void | SetFileByHandleL | ( | const RFile & | aFile | ) |
const RFile & aFile |
IMPORT_C void | SetOpaqueDataL | ( | const TDesC8 & | aOpaqueData | ) |
const TDesC8 & aOpaqueData |
IMPORT_C void | SetParentProcessId | ( | TProcessId | aProcessId | ) |
TProcessId aProcessId |
IMPORT_C void | SetParentWindowGroupID | ( | TInt | aParentWindowGroupID | ) |
TInt aParentWindowGroupID |
IMPORT_C void | SetProcessEnvironmentL | ( | RProcess & | aProcess | ) | const |
RProcess & aProcess |
void | SetServerDifferentiatorL | ( | TUint | aServerDifferentiator | ) | [private] |
TUint aServerDifferentiator |
IMPORT_C void | SetServerRequiredL | ( | TUint | aServerDifferentiator | ) |
TUint aServerDifferentiator |
IMPORT_C void | SetTailEndL | ( | const TDesC8 & | aTailEnd | ) |
const TDesC8 & aTailEnd |
TPtrC | StripQuotes | ( | const TDesC & | aDes | ) | [private, static] |
const TDesC & aDes |