Kitlist
1.1.0
|
#include <config.h>
#include <locale.h>
#include <iostream>
#include <getopt.h>
#include <libintl.h>
#include "kitlistgui.hpp"
#include "kitlistpgsqldao.hpp"
#include "xmldao.hpp"
Go to the source code of this file.
Classes | |
class | KitList |
Main application class. More... | |
class | TickItem |
Functions | |
int | main (int argc, char **argv) |
Variables | |
static int | verbose_flag = 0 |
Flag set by `–verbose'. More... | |
static int | html_flag = 0 |
Flag set by `–html'. More... | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Parses the command line and executes the main application.
Definition at line 559 of file main.cpp.
References KitList::add_item(), ALL_ITEMS, KitList::append_items_to_category(), KitList::associate_item_with_category(), CHECKED_ITEMS, KitList::delete_category(), KitList::delete_item(), KitList::get_dao(), html_flag, KitList::list_categories(), KitList::list_items(), KitList::new_category(), KitList::remove_item_from_category(), KitList::set_all_flags(), KitList::set_category_flag(), KitList::set_item_flag(), KitList::tick_items(), UNCHECKED_ITEMS, KitList::unset_all_flags(), KitList::unset_category_flag(), KitList::unset_item_flag(), and verbose_flag.
|
static |
Flag set by `–html'.
Definition at line 69 of file main.cpp.
Referenced by KitList::list_categories(), KitList::list_item(), KitList::list_items_end(), KitList::list_items_start(), and main().
|
static |
Flag set by `–verbose'.
Definition at line 66 of file main.cpp.
Referenced by main(), and KitListDao::set_verbose().