pilotDatabase.cc
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include "options.h"
00031
00032 #include <time.h>
00033
00034 #include <pi-appinfo.h>
00035
00036 #include "pilotDatabase.moc"
00037
00038 PilotDatabase::PilotDatabase(QObject *o,const char *n) :
00039 QObject(o,n),
00040 fDBOpen(false)
00041 {
00042 FUNCTIONSETUP;
00043 }
00044
00045 PilotDatabase::~PilotDatabase()
00046 {
00047 FUNCTIONSETUP;
00048 }
00049
00050 void PilotDatabase::listAppInfo(const struct CategoryAppInfo *category)
00051 {
00052 #ifdef DEBUG
00053 FUNCTIONSETUP;
00054
00055 for (int i = 0; i < 15; i++)
00056 {
00057 DEBUGKPILOT << fname
00058 << ": Category #"
00059 << i
00060 << " has ID "
00061 << (int) category->ID[i]
00062 << " and name "
00063 << (category->name[i][0] ? "*" : "-")
00064 << category->name[i] << endl;
00065 }
00066 #endif
00067 }
This file is part of the documentation for kpilot Library Version 3.2.2.