Pyro higlevel API
Public Member Functions | List of all members
os::ShortcutKey Class Reference
Inheritance diagram for os::ShortcutKey:
os::Flattenable

Public Member Functions

 ShortcutKey (const String &cKey, uint32 nQualifiers=0)
 
 ShortcutKey (const uint32 nKey, uint32 nQualifiers=0)
 
 ShortcutKey (const ShortcutKey &cShortcut)
 
 ShortcutKey ()
 
 ~ShortcutKey ()
 
void SetFromLabel (const String &cLabel)
 
void SetFromLabel (const char *pzLabel)
 
bool IsValid () const
 
uint32 GetKeyCode () const
 
uint32 GetQualifiers () const
 
bool operator< (const ShortcutKey &c) const
 
bool operator== (const ShortcutKey &c) const
 
virtual int GetType (void) const
 
virtual size_t GetFlattenedSize (void) const
 
virtual status_t Flatten (uint8 *pBuffer, size_t nSize) const
 
virtual status_t Unflatten (const uint8 *pBuffer)
 
- Public Member Functions inherited from os::Flattenable
virtual bool TypeIsCompatible (int nType) const
 

Constructor & Destructor Documentation

ShortcutKey::ShortcutKey ( const String cKey,
uint32  nQualifiers = 0 
)
ShortcutKey::ShortcutKey ( const uint32  nKey,
uint32  nQualifiers = 0 
)
ShortcutKey::ShortcutKey ( const ShortcutKey cShortcut)
ShortcutKey::ShortcutKey ( )
ShortcutKey::~ShortcutKey ( )

Member Function Documentation

status_t ShortcutKey::Flatten ( uint8 *  pBuffer,
size_t  nSize 
) const
virtual

Implements os::Flattenable.

virtual size_t os::ShortcutKey::GetFlattenedSize ( void  ) const
inlinevirtual

Implements os::Flattenable.

uint32 ShortcutKey::GetKeyCode ( ) const
uint32 ShortcutKey::GetQualifiers ( ) const
virtual int os::ShortcutKey::GetType ( void  ) const
inlinevirtual

Implements os::Flattenable.

References os::T_SHORTCUTKEY.

bool ShortcutKey::IsValid ( void  ) const
bool ShortcutKey::operator< ( const ShortcutKey c) const

References IsValid().

bool ShortcutKey::operator== ( const ShortcutKey c) const

References IsValid(), QUAL_ALT, QUAL_CTRL, and QUAL_SHIFT.

void ShortcutKey::SetFromLabel ( const String cLabel)
void ShortcutKey::SetFromLabel ( const char *  pzLabel)
status_t ShortcutKey::Unflatten ( const uint8 *  pBuffer)
virtual

Implements os::Flattenable.