dlgsd.h

Go to the documentation of this file.
00001 // OSB library ************************************************ -*- C++ -*-
00009 /*
00010   AUTHOR(S): Stephan Broennimann (vb)
00011 
00012   RCS information
00013    $Name: OSB_060808 $
00014    $Revision: 1.12 $
00015 
00016   License
00017    OSB rating and billing library for communication networks
00018    Copyright (C) 2004, 2005, 2006  OSB systems
00019 
00020    This file may be distributed and/or modify under the terms of the
00021    GNU General Public License (GPL) as published by the Free Software
00022    Foundation which is provided in the file LICENSE.GPL included in the
00023    packaging of this file.
00024 
00025    The file is distributed in the hope that it will be useful, but WITHOUT
00026    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00027    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00028    for more details.
00029 
00030    Holders of a OSB Commercial License may use this file under the terms
00031    and conditions of this commercial license.
00032  */
00033 #ifndef _DLGSD_H_
00034 #define _DLGSD_H_
00035 
00036 // ************************************************************************
00037 // included header files
00038 // + standard includes
00039 
00040 // + libraries
00041 
00042 // + local headers
00043 #include "ui/dlgsdgui.h"
00044 
00045 // ************************************************************************
00046 // class declarations
00047 namespace OSB_LIB {
00048     class SpecialDate;
00049 }
00050 
00051 // ************************************************************************
00052 // namespace extensions
00053 namespace OSB_GUI {
00054 
00055 // ************************************************************************
00056 // class definitions
00060     class DlgSd : private DlgSdGui {
00061     public:
00063         explicit DlgSd(
00064                   QWidget* parent,
00065             const char*    name  = "DlgSd",
00066                   bool     modal = false,
00067                   WFlags   fl    = 0
00068         );
00070         int showSd(
00071             const OSB_LIB::SpecialDate& sd,
00072             const std::string&          dcName
00073         );
00075         int editSd(
00076                   OSB_LIB::SpecialDate* sd,
00077             const std::string&          dcName
00078         );
00079     private:
00081         void display(
00082             const OSB_LIB::SpecialDate& sd,
00083             const std::string&          dcName,
00084                   bool                  showOnly
00085         );
00086     };                                  // class DlgSd
00087 }                                       // namespace OSB_GUI
00088 #endif                                  // #ifndef _DLGSD_H_

Generated on Sat Sep 2 14:17:36 2006 for OSB Library by  doxygen 1.4.7