SManifestParser Class Reference

#include <package_p/ManifestParser.h>

Inheritance diagram for SManifestParser:

SLightAtom List of all members.

Public Member Functions

virtual void OnDeclareAddon (const SValue &addonInfo)=0
 Callback: A protein plugin was declared.
virtual void OnDeclareApplication (const SValue &appInfo)=0
 Callback: An application was declared.
virtual void OnDeclareComponent (const SValue &componentInfo)=0
 Callback: A new component was declared.

Static Public Member Functions

static status_t ParseManifest (const SString &filename, const sptr< SManifestParser > &parser, const sptr< IByteInput > &stream, const SPackage &resources, const SString &package)
 Parses an IByteInput and calls the callbacks on a parser.
static status_t ParseManifestFromPackageFile (const SString &filename, const sptr< SManifestParser > &parser, const sptr< IByteInput > &stream, const SPackage &resources, const SString &package)
 Parses an IByteInput that is at the beginning of a package file, looking for an.

Member Function Documentation

virtual void OnDeclareAddon const SValue addonInfo  )  [pure virtual]
 

Callback: A protein plugin was declared.

virtual void OnDeclareApplication const SValue appInfo  )  [pure virtual]
 

Callback: An application was declared.

virtual void OnDeclareComponent const SValue componentInfo  )  [pure virtual]
 

Callback: A new component was declared.

status_t ParseManifest const SString filename,
const sptr< SManifestParser > &  parser,
const sptr< IByteInput > &  stream,
const SPackage resources,
const SString package
[static]
 

Parses an IByteInput and calls the callbacks on a parser.

status_t ParseManifestFromPackageFile const SString filename,
const sptr< SManifestParser > &  parser,
const sptr< IByteInput > &  stream,
const SPackage resources,
const SString package
[static]
 

Parses an IByteInput that is at the beginning of a package file, looking for an.


The documentation for this class was generated from the following files: