Home · All Namespaces · All Classes
Public Member Functions

ApplicationContext Class Reference

#include <applicationcontext.h>

Inheritance diagram for ApplicationContext:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ContextItemcreateContextItem (const QString &key)=0

Detailed Description

Abstract interface that can be used to create context items that communicate the context of the application (e.g. battery level, network strength, device orientation, bluetooth status, ...)


Member Function Documentation

virtual ContextItem* ApplicationContext::createContextItem ( const QString &  key  )  [pure virtual]

Creates a new context item. Ownership of the context item is transferred to the caller.

Parameters:
key Unique identifier of the context item. This key will identify the context item monitored in the application context.
Returns:
New ContextItem object that can be used to track the particular context item in the system. Ownership of the created ContextItem object is transferred to the caller.

Implemented in ContextFrameworkContext.


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

Copyright © 2011 Nokia Corporation Generated on Tue Aug 30 2011 16:38:12
Doxygen 1.7.1
MeeGo Touch