DumontEXE 0.0.1
cmcFormScript.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_FORM_SCRIPT_H_422FD07F_0597_4cbb_A034_9AE85166472E
00026 #define CDA_FORM_SCRIPT_H_422FD07F_0597_4cbb_A034_9AE85166472E
00027 
00028 #include <QPointer>
00029 
00030 #include "cmcStringList.h"
00031 
00032 namespace cmcDatabaseApi {
00033 
00034 class cmcFormDef;
00035 class cmcApplication;
00036 
00037 /*!
00038 ** \brief Form Script \n
00039 **
00040 **
00041 */
00042 class cmcFormScript:
00043   public cmcStringList
00044 {
00045   Q_OBJECT
00046   public:
00047 
00048     /*!
00049     ** \brief Copy Constructor \n
00050     **
00051     **
00052     */
00053     cmcFormScript( const cmcFormScript & copy );
00054 
00055     /*!
00056     ** \brief Standard Constructor \n
00057     **
00058     **
00059     */
00060     cmcFormScript
00061     (
00062       cmcFormDef * formDef
00063     );
00064 
00065     /*!
00066     ** \brief Standard Destructor \n
00067     **
00068     **
00069     */
00070     virtual ~cmcFormScript();
00071 
00072   public slots:
00073 
00074     /*!
00075     ** \brief Reference to Form Definition \n
00076     **
00077     **
00078     */
00079     cmcFormDef * formDef();
00080 
00081     /*!
00082     ** \brief Reference to Application \n
00083     **
00084     **
00085     */
00086     cmcApplication * app();
00087 
00088     /*!
00089     ** \brief Check-out the form script \n
00090     **
00091     **
00092     */
00093     bool checkOut();
00094 
00095     /*!
00096     ** \brief Check-in the form script \n
00097     **
00098     **
00099     */
00100     bool checkIn();
00101 
00102     /*!
00103     ** \brief Load the form script \n
00104     **
00105     **
00106     */
00107     bool load();
00108 
00109     /*!
00110     ** \brief Save the form script \n
00111     **
00112     **
00113     */
00114     bool save();
00115 
00116     /*!
00117     ** \brief Return the Form Script Standard Folder \n
00118     **
00119     **
00120     */
00121     QString folder();
00122 
00123     /*!
00124     ** \brief Return the Form Script File Name \n
00125     **
00126     **
00127     */
00128     QString fileName();
00129 
00130     /*!
00131     ** \brief Return the Form Script Absolute Path \n
00132     **
00133     **
00134     */
00135     QString absolutePath();
00136 
00137   signals:
00138 
00139   protected:
00140 
00141   private:
00142 
00143 }; // endclass cmcFormScript:
00144 
00145 } // endnamespace cmcDatabaseApi
00146 
00147 #endif // #ifndef CDA_FORM_SCRIPT_H
00148 
 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