DumontEXE 0.0.1
cmcCategoryDefs.h
00001 /* ***************************************************************************
00002 **
00003 ** Copyright (C) 2007 Lorimark Solutions, LLC. All rights reserved.
00004 **
00005 ** This file is part of the DumontEXE Scripting Extension Kit
00006 **
00007 ** This file may be used under the terms of the GNU General Public
00008 ** License version 2.0 as published by the Free Software Foundation
00009 ** and appearing in the file LICENSE.GPL included in the packaging of
00010 ** this file.  Please review the following information to ensure GNU
00011 ** General Public Licensing requirements will be met:
00012 ** http://dumont.showoff-db.org/opensource.html
00013 **
00014 ** If you are unsure which license is appropriate for your use, please
00015 ** review the following information:
00016 ** http://dumont.showoff-db.org/licensing.html 
00017 ** or contact the sales department at sales@lorimarksolutions.com.
00018 **
00019 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00020 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00021 **
00022 ** author: Mark Petryk ~ Lorimark Solutions, LLC
00023 ** **************************************************************************/
00024 
00025 #ifndef CDA_CATEGORY_DEFS_H_422FD07F_0597_4cbb_A034_9AE85166472E
00026 #define CDA_CATEGORY_DEFS_H_422FD07F_0597_4cbb_A034_9AE85166472E
00027 
00028 #include <QStringList>
00029 
00030 #include "cmcObjects.h"
00031 
00032 namespace cmcDatabaseApi {
00033 
00034 class cmcApplication;
00035 class cmcCategoryDef;
00036 
00037 /*!
00038 ** \brief Category Definitions
00039 **
00040 **
00041 */
00042 class cmcCategoryDefs:
00043   public cmcObjects
00044 {
00045   Q_OBJECT
00046   Q_CLASSINFO( "explorer", "yes" )
00047   public:
00048 
00049     cmcCategoryDefs( const cmcCategoryDefs & copy );
00050 
00051     cmcCategoryDefs( cmcApplication * application );
00052 
00053     virtual ~cmcCategoryDefs();
00054 
00055   public slots:
00056 
00057     /*!
00058     ** \brief Count of Category Definitions \n
00059     **
00060     **
00061     */
00062     virtual long count();
00063 
00064     /*!
00065     ** \brief Get a Category Definition by name \n
00066     **
00067     **
00068     */
00069     virtual cmcCategoryDef * get( const QString & name );
00070 
00071     /*!
00072     ** \brief Get a Category Definition by index \n
00073     **
00074     */
00075     virtual cmcCategoryDef * get( long index );
00076 
00077   signals:
00078 
00079   protected:
00080 
00081     virtual bool load();
00082 
00083     cmcObject * load( const QString & name );
00084 
00085     virtual bool save();
00086 
00087   private:
00088 
00089 }; // endclass cmcCategoryDefs:
00090 
00091 
00092 } // endnamespace cmcDatabaseApi
00093 
00094 #endif // #ifndef CDA_CATEGORY_DEFS_H
00095 
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com