Public Member Functions | |
~CWikiDb () | |
void | SearchL (const TDesC &aPrefix, MWikiCountObserver *aObserver) |
void | PageUpL (const TDesC &aPrefix) |
TBool | Next () |
const TInt | GetTitle (TPtrC &aTitle) |
const TDesC8 & | GetArticleContentL () |
const TDesC8 & | GetArticleContentL (const TDesC &aTitle) |
const TDesC8 & | GetArticleContentL (const TDesC8 &aTitle) |
void | SetCurrentArticleL (const TDesC &aTitle) |
const TDesC8 & | GetCurrentArticleContentL () |
TBool | DoesNextItemExist () |
TInt | CurrentPage () |
TInt | CurrentItem () |
TInt | NumRecords () |
void | DoCancel () |
void | RunL () |
Static Public Member Functions | |
static CWikiDb * | NewL () |
Protected Attributes | |
RSqlDatabase | iDatabase |
RSqlStatement | iStatement |
RSqlStatement | iCountStatement |
RBuf8 | iQueryBuf |
RBuf8 | iCountBuf |
RBuf8 | iUtf8Chars |
RBuf8 | iArticleText |
HBufC * | iCurArticleTitle |
MWikiCountObserver * | iObserver |
TRequestCode | iRequestCode |
TRequestStatus * | iRequestStatus |
RBuf8 | iRequestTitle |
TPtrC8 * | iRequestBuffer |
TInt | iCurItem |
TInt | iCurPage |
TBool | iAtNextItem |
TInt | iNumRecords |
Definition at line 75 of file WikiDb.h.
CWikiDb::~CWikiDb | ( | ) |
~CWikiDb Destructor
Definition at line 27 of file WikiDb.cpp.
CWikiDb * CWikiDb::NewL | ( | ) | [static] |
NewL 1st phase Constructor
Definition at line 40 of file WikiDb.cpp.
TBool CWikiDb::Next | ( | ) |
Offers traversal of results specified by previous call to Search.
Definition at line 93 of file WikiDb.cpp.
const TInt CWikiDb::GetTitle | ( | TPtrC & | aTitle | ) |
Get the title of the article currently under cursor.
Definition at line 118 of file WikiDb.cpp.
const TDesC8 & CWikiDb::GetArticleContentL | ( | ) |
Get the content of the article currently under cursor.
Definition at line 126 of file WikiDb.cpp.
const TDesC8 & CWikiDb::GetArticleContentL | ( | const TDesC & | aTitle | ) |
Get the article content by title.
Definition at line 138 of file WikiDb.cpp.
const TDesC8 & CWikiDb::GetArticleContentL | ( | const TDesC8 & | aTitle | ) |
Get the article content by title.
Definition at line 147 of file WikiDb.cpp.
void CWikiDb::SetCurrentArticleL | ( | const TDesC & | aTitle | ) |
Set the current article content by title
Definition at line 276 of file WikiDb.cpp.
const TDesC8 & CWikiDb::GetCurrentArticleContentL | ( | ) |
Get the current article content
Definition at line 282 of file WikiDb.cpp.