The usage of keyword extern in my projectI do not use extern in my code frequently. In CL-PIM project, I use it to declare a Log project to finish log task just one Log object across different compiling unit.
Classes In CL-PIMclass CalendarThis class provides time service to CL-PIM, user can get latest system time, set timezone, set year/month/day/week/hour/minute/second etc. class LogThis class is used to write all log info to one unique file log.txt. File log.cpp has a extern Log object logger, which is used through out CL-PIM to write log info. class TaskClass Task is the base class for all plugins used in CL-PIM. That means all plugin should derived from class Task. class ConfManagerClass ConfManager manages the configuration files. Configuration file manages plugins for CL-PIM. The class provides interfaces to remove some plugin from configuration file, or add new plugin.
FunctionsOpenFileThis function is used as a common tool to handle file open operation. It is declared in head file utility.h. CloseFile
|