My favorites | Sign in
Project Logo
                
Search
for
Updated Aug 28, 2008 by xianggenw
Labels: Featured, Phase-Implementation
DevelopmentIssues  
Design Issues, Development Issues, Other Issues.

The usage of keyword extern in my project

I 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-PIM

class Calendar

This 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 Log

This 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 Task

Class Task is the base class for all plugins used in CL-PIM. That means all plugin should derived from class Task.

class ConfManager

Class 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.


Functions

OpenFile

This function is used as a common tool to handle file open operation. It is declared in head file utility.h.

CloseFile


Sign in to add a comment
Hosted by Google Code