libept
Public Member Functions | Protected Attributes
ept::core::desktop::Entry Struct Reference

#include <desktop.h>

List of all members.

Public Member Functions

 Entry ()
 Entry (std::string n, std::string g, std::string p, std::string d, std::string i)
void load (std::string file)
void setCategories (std::string s)
Categories categories () const
bool inCategory (std::string c) const
std::string id () const
std::string name () const
std::string package () const
std::string description () const
std::string icon () const
bool operator< (const Entry &o) const

Protected Attributes

std::string m_name
std::string m_package
std::string m_description
std::string m_icon
std::string m_id
bool m_supported
bool m_free
Categories m_categories

Constructor & Destructor Documentation

ept::core::desktop::Entry::Entry ( std::string  n,
std::string  g,
std::string  p,
std::string  d,
std::string  i 
) [inline]

References setCategories().


Member Function Documentation

std::string ept::core::desktop::Entry::description ( ) const [inline]

References m_description.

std::string ept::core::desktop::Entry::icon ( ) const [inline]

References m_icon.

std::string ept::core::desktop::Entry::id ( ) const [inline]

References m_id.

Referenced by ept::core::desktop::Source::getToken().

bool ept::core::desktop::Entry::inCategory ( std::string  c) const [inline]

References m_categories.

void ept::core::desktop::Entry::load ( std::string  file) [inline]
std::string ept::core::desktop::Entry::name ( ) const [inline]

References m_name.

bool ept::core::desktop::Entry::operator< ( const Entry o) const [inline]

References m_name, and m_package.

std::string ept::core::desktop::Entry::package ( ) const [inline]

References m_package.

void ept::core::desktop::Entry::setCategories ( std::string  s) [inline]

References m_categories.

Referenced by Entry(), and load().


Member Data Documentation

Referenced by description(), and load().

std::string ept::core::desktop::Entry::m_icon [protected]

Referenced by icon(), and load().

std::string ept::core::desktop::Entry::m_id [protected]

Referenced by id(), and load().

std::string ept::core::desktop::Entry::m_name [protected]

Referenced by load(), name(), and operator<().

std::string ept::core::desktop::Entry::m_package [protected]

Referenced by load(), operator<(), and package().


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