home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / LANCELOT / LDBASE.HPP < prev    next >
C/C++ Source or Header  |  1995-05-01  |  23KB  |  797 lines

  1. /*******************************************************************************
  2. * FILE NAME: ldbase.hpp                                                        *
  3. *                                                                              *
  4. * DESCRIPTION:                                                                 *
  5. *                                                                              *
  6. * Class                                                                        *
  7. *   LStatusData                                                                 *
  8. *   LBadgeData                                                                  *
  9. *   LEmployeeData                                                               *
  10. *   LSkillData
  11. *   LProjectData                                                                *
  12. *   LTimeCardData                                                               *
  13. *   LAcctData                                                                   *
  14. *   LTaskData                                                                   *
  15. *   LQueryData                                                                  *
  16. *   LDeleteEmployee                                                             *
  17. *                                                                              *
  18. * COPYRIGHT:                                                                   *
  19. *   Licensed Materials - Property of IBM                                       *
  20. *   (C) Copyright IBM Corporation 1992, 1995                                   *
  21. *   All Rights Reserved                                                        *
  22. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  23. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  24. *                                                                              *
  25. * CHANGE HISTORY:                                                              *
  26. *******************************************************************************/
  27. #ifndef _LDBASE_
  28. #define _LDBASE_
  29.  
  30.  
  31. #include <iostream.h>
  32. #include <iprofile.hpp>
  33. #include <idate.hpp>
  34. #include <idate.hpp>
  35. #include "litems.hpp"
  36.  
  37. #include <istring.hpp>
  38. #include <ikeybag.h>
  39. typedef IKeyBag<Item, Entry> Items;
  40.  
  41. const int tcEntries = 18 ;
  42.  
  43. // forward declarations
  44. class LQueryData;
  45. class TimeCardPage;
  46.  
  47. //----------------------------------------------------------------------------
  48. // class LStatusData
  49. //----------------------------------------------------------------------------
  50. class LStatusData : public IBase
  51. {
  52. public: // ---------------------- PUBLIC -------------------------------------
  53.  
  54. //----------------------- Contructor/Destructor ------------------------------
  55. // Class LStatusData :: LStatusData()
  56. //----------------------------------------------------------------------------
  57.   LStatusData(const IString empNum);
  58.   LStatusData(LQueryData& qd);
  59.  
  60.   ~LStatusData();
  61.  
  62. LStatusData&
  63.   save( const  IString  empNum,
  64.         const IString statusRate,
  65.         const IString statusStart,
  66.         const IString statusEnd,
  67.         Boolean tog);
  68.  
  69. inline IString
  70.   statusActive() {return StatusActive;};
  71.  
  72. inline IString
  73.   statusInactive() {return StatusInactive;};
  74.  
  75. inline IString
  76.   statusRate()   {return StatusRate;};
  77.  
  78. inline IString
  79.   statusStart()  {return StatusStart;};
  80.  
  81. inline IString
  82.   statusEnd()    {return StatusEnd;};
  83.  
  84. inline IString
  85.   theRateRange()  {return TheRateRange;;};
  86.  
  87. inline IString
  88.   theStartRange() {return TheStartRange;}
  89.  
  90. inline IString
  91.   theEndRange()   {return TheEndRange; ;};
  92.  
  93. protected://----------------------- PROTECTED --------------------------------
  94.  
  95. LStatusData&
  96.   load(const  IString  empNum);
  97.  
  98. LStatusData&
  99.   loadQueryData(LQueryData& qd);
  100.  
  101. private:  //----------------------- PRIVATE ----------------------------------
  102.  
  103.  
  104. IString
  105.   StatusInactive,
  106.   StatusActive,
  107.   StatusRate,
  108.   StatusStart,
  109.   StatusEnd,
  110.   TheRateRange,
  111.   TheStartRange,
  112.   TheEndRange;
  113.  
  114. };
  115.  
  116.  
  117. //----------------------------------------------------------------------------
  118. // class LBadgeData
  119. //----------------------------------------------------------------------------
  120. class LBadgeData  : public IBase
  121. {
  122.  
  123. public: // ---------------------- PUBLIC -------------------------------------
  124.  
  125. friend class GeneralPage;
  126.  
  127. //----------------------- Contructor/Destructor ------------------------------
  128. // Class LBadgeData :: LBadgeData()
  129. //----------------------------------------------------------------------------
  130.   LBadgeData();
  131.   LBadgeData(const  IString &eNum);
  132.   LBadgeData(LQueryData& qd);
  133.  
  134.   ~LBadgeData();
  135.  
  136. LBadgeData&
  137.   save(const  IString  eNum,
  138.        const  IString  badgeNumber,
  139.        const  IString  issueDate,
  140.        const  IString  expDate );
  141.  
  142. inline IString   badgeNumber() {return BadgeNumber;};
  143. inline IString   badgeIssue()  {return BadgeIssue;};
  144. inline IString   badgeExpire() {return BadgeExpire;};
  145. inline IString   theIssueRange() {return TheIssueRange;};
  146. inline IString   theExpRange() {return TheExpRange;};
  147.  
  148. protected: //----------------------- PROTECTED  ----------------------------------
  149.  
  150. LBadgeData&
  151.   load(const  IString  &eNum);
  152.  
  153. LBadgeData&
  154.   loadQueryData(LQueryData& qd);
  155.  
  156. private:   //----------------------- PRIVATE ----------------------------------
  157.  
  158. IString     BadgeNumber,
  159.             BadgeIssue,
  160.             BadgeExpire,
  161.             TheIssueRange,
  162.             TheExpRange;
  163.  
  164. };
  165.  
  166.  
  167.  
  168. //----------------------------------------------------------------------------
  169. // class LEmployeeData
  170. //----------------------------------------------------------------------------
  171. class LEmployeeData  : public IBase
  172. {
  173. public: // ---------------------- PUBLIC -------------------------------------
  174.  
  175. friend class LPersonnelCnr;
  176.  
  177.  
  178. enum EmplType {
  179.                Regular,
  180.                Manager,
  181.                Supplemental,
  182.                Unemployed
  183.                };
  184.  
  185. //----------------------- Contructor/Destructor ------------------------------
  186. // Class LEmployeeData :: LEmployeeData()
  187. //----------------------------------------------------------------------------
  188.  
  189.   LEmployeeData();
  190.   LEmployeeData(const IString empNum);
  191.   LEmployeeData(LQueryData& qd);
  192.  
  193.   ~LEmployeeData();
  194.  
  195. LEmployeeData&
  196.   save(const  IString empNum);
  197.  
  198. inline IString employeeNumber()  const { return theEmployeeNum; }
  199. inline IString lastName()        const { return theLastName; }
  200. inline IString firstName()       const { return theFirstName; }
  201. inline IString middleInitial()   const { return theMiddleInitial; }
  202. inline IString internalPhone()   const { return theInternalPhone; }
  203. inline IString externalPhone()   const { return theExternalPhone; }
  204. inline IString internalAddress() const { return theInternalAddr; }
  205. inline IString externalAddress() const { return theExternalAddr; }
  206. inline IString room()            const { return theRoom; }
  207. inline IString building()        const { return theBuilding; }
  208. inline IString department()      const { return theDeptName; }
  209. inline IString division()        const { return theDivision; }
  210. inline EmplType employeeType()   const { return theEmployeeType; }
  211. inline IString badgeNumber()     const { return theBadgeNumber; }
  212. inline IString badgeIssue()      const { return theBadgeIssue; }
  213. inline IString badgeExpires()    const { return theBadgeExpire; }
  214. inline IString managerNumber()   const { return theManagerNum; }
  215. inline IString managerName()     const { return theManagerName; }
  216.  
  217. inline LEmployeeData& setEmployeeNumber(IString st)  {  theEmployeeNum=st; return *this;}
  218. inline LEmployeeData& setLastName(IString st)        {  theLastName=st; return *this;}
  219. inline LEmployeeData& setFirstName(IString st)       {  theFirstName=st;return *this;}
  220. inline LEmployeeData& setMiddleInitial(IString st)   {  theMiddleInitial=st;return *this;}
  221. inline LEmployeeData& setInternalPhone(IString st)   {  theInternalPhone=st;return *this;}
  222. inline LEmployeeData& setExternalPhone(IString st)   {  theExternalPhone=st;return *this;}
  223. inline LEmployeeData& setInternalAddress(IString st) {  theInternalAddr=st;return *this;}
  224. inline LEmployeeData& setExternalAddress(IString st) {  theExternalAddr=st;return *this;}
  225. inline LEmployeeData& setRoom(IString st)            {  theRoom=st;return *this;}
  226. inline LEmployeeData& setBuilding(IString st)        {  theBuilding=st;return *this;}
  227. inline LEmployeeData& setDepartment(IString st)      {  theDeptName=st;return *this;}
  228. inline LEmployeeData& setDivision(IString st)        {  theDivision=st;return *this;}
  229. inline LEmployeeData& setEmployeeType(EmplType st)   {  theEmployeeType=st;return *this;}
  230. inline LEmployeeData& setBadgeNumber(IString st)     {  theBadgeNumber=st;return *this;}
  231. inline LEmployeeData& setBadgeIssue(IString st)      {  theBadgeIssue=st; return *this;}
  232. inline LEmployeeData& setBadgeExpires(IString st)    {  theBadgeExpire=st;return *this;}
  233. inline LEmployeeData& setManagerNumber(IString st)   {  theManagerNum=st; return *this;}
  234. inline LEmployeeData& setManagerName(IString st)     {  theManagerName=st;return *this;}
  235.  
  236.  
  237. protected: //----------------------- PROTECTED ----------------------------------
  238.  
  239. LEmployeeData&
  240.   load(const  IString empNum);
  241.  
  242. LEmployeeData&
  243.   loadQryData(LQueryData& qd);
  244.  
  245. private: //----------------------- PRIVATE ----------------------------------
  246.  
  247. IString
  248.   theEmployeeNum,
  249.   theLastName,
  250.   theFirstName,
  251.   theMiddleInitial,
  252.   theInternalPhone,
  253.   theExternalPhone,
  254.   theInternalAddr,
  255.   theExternalAddr,
  256.   theRoom,
  257.   theBuilding,
  258.   theDeptName,
  259.   theDivision;
  260.  
  261. EmplType
  262.   theEmployeeType;
  263.  
  264. IString
  265.   theBadgeNumber,
  266.   theBadgeIssue,
  267.   theBadgeExpire,
  268.   theManagerNum,
  269.   theManagerName;
  270.  
  271. LBadgeData
  272.   badgeData;
  273.  
  274. };
  275.  
  276.  
  277. //----------------------------------------------------------------------------
  278. // Class LSkillData :: LSkillData()
  279. //----------------------------------------------------------------------------
  280. class LSkillData    : public IBase
  281. {
  282.  
  283. public: // ---------------------- PUBLIC -------------------------------------
  284.  
  285. enum Rule {
  286.            na,
  287.            file,
  288.            add,
  289.            replace,
  290.            remove
  291.            };
  292.  
  293. //----------------------- Contructor/Destructor ------------------------------
  294. // Class LSkillData
  295. //----------------------------------------------------------------------------
  296.   LSkillData(const IString empNum = NULL);
  297.   LSkillData(LQueryData& sd);
  298.   ~LSkillData();
  299.  
  300. LSkillData&
  301.   save(const  IString empNum);
  302.  
  303.       inline Boolean
  304.          getNext(){ itemsCur.setToNext();
  305.                     return itemsCur.isValid();}
  306.  
  307.       inline Boolean 
  308.          setFirst(){ itemsCur.setToFirst();
  309.                      return itemsCur.isValid();}
  310.  
  311. inline Boolean isValid(){ return itemsCur.isValid();}
  312.  
  313. LSkillData&
  314.   deleteCurrentItem();
  315.  
  316. Boolean
  317.   getItem(  IString& i1,
  318.             IString& i2,
  319.             Rule& rule,
  320.             Boolean useKey = true);
  321.  
  322. Boolean
  323.   getItem(  IString& i1,
  324.             IString& i2,
  325.             Boolean useKey = true);
  326.  
  327. Boolean
  328.   putItem( const IString& i1,
  329.            const IString& i2,
  330.            const Rule&  rule=add);
  331.  
  332. LSkillData&
  333.   emptyBag();
  334.  
  335. inline IString theRange() const {return TheRange;};
  336.  
  337. inline IString employeeNumber() const {return employeeNum;};
  338.  
  339. LSkillData&
  340.   operator = ( const LSkillData& from );
  341.  
  342. protected: //----------------------- PROTECTED --------------------------------
  343.  
  344. LSkillData&
  345.   load(const  IString empNum);
  346.  
  347. LSkillData&
  348.   loadQueryData(LQueryData& qd);
  349.  
  350. Items
  351.   getItems() const {return items;};
  352.  
  353. Items::Cursor
  354.   getItemsCursor() const {return itemsCur;};
  355.  
  356. private: //----------------------- PRIVATE ----------------------------------
  357.  
  358. Items
  359.   items;
  360.  
  361. Items::Cursor
  362.   itemsCur;
  363.  
  364. IString
  365.   employeeNum,
  366.   TheRange;
  367.  
  368. };
  369.  
  370.  
  371. //----------------------------------------------------------------------------
  372. // Class LProjectData :: LProjectData()
  373. //----------------------------------------------------------------------------
  374. class LProjectData   : public IBase
  375. {
  376. public: // ---------------------- PUBLIC -------------------------------------
  377.  
  378. enum Rule {
  379.            na,
  380.            file,
  381.            add,
  382.            replace,
  383.            remove
  384.            };
  385.  
  386. //----------------------- Contructor/Destructor ------------------------------
  387. // Class LProjectData :: LProjectData()
  388. //----------------------------------------------------------------------------
  389.   LProjectData(const IString empNum = NULL);
  390.   ~LProjectData();
  391.  
  392. LProjectData&
  393.   save(const IString empNum);
  394.  
  395. LProjectData&
  396.   deleteCurrentItem();
  397.  
  398. Boolean
  399.   getItem(  IString& i1,
  400.             IString& i2,
  401.             IString& i3,
  402.             IString& i4,
  403.             Rule rule );
  404.  
  405. LProjectData&
  406.   putItem( const IString& i1,
  407.            const IString& i2,
  408.            const IString& i3,
  409.            const IString& i4,
  410.            const Rule&  rule=add );
  411.  
  412. LProjectData&
  413.   emptyBag();
  414.  
  415.       inline Boolean
  416.          getNext(){ itemsCur.setToNext(); 
  417.                     return itemsCur.isValid();}
  418.  
  419.       inline Boolean
  420.          setFirst(){ return(itemsCur.setToFirst());}
  421.  
  422. inline IString employeeNumber() const {return employeeNum;};
  423.  
  424. LProjectData&
  425.   operator = ( const LProjectData& from );
  426.  
  427. protected: //----------------------- PROTECTED --------------------------------
  428.  
  429. LProjectData&
  430.   load(const  IString empNum);
  431.  
  432. Items
  433.   getItems() const {return items;};
  434.  
  435. Items::Cursor
  436.   getItemsCursor() const {return itemsCur;};
  437.  
  438. private: //----------------------- PRIVATE --------------------------------
  439.  
  440. Items
  441.   items;
  442.  
  443. Items::Cursor
  444.   itemsCur;
  445.  
  446. IString
  447.   employeeNum; // the key
  448.  
  449. };
  450.  
  451. //----------------------------------------------------------------------------
  452. // Class TCard :: TCard()
  453. //----------------------------------------------------------------------------
  454. class TCard  : public IBase
  455. {
  456. public: // ---------------------- PUBLIC -------------------------------------
  457.  
  458. friend class TimeCardPage;
  459.  
  460. //----------------------- Contructor/Destructor ------------------------------
  461. // Class TCard :: TCard()
  462. //----------------------------------------------------------------------------
  463.  
  464.   TCard();
  465.   ~TCard();
  466.  
  467. inline TCard&  setDate(const IString & s)        { Date = s; return *this;};
  468. inline TCard&  setProjectName(const IString & s) { ProjectName = s;return *this;};
  469. inline TCard&  setTaskName(const IString & s)    { TaskName = s;return *this;};
  470. inline TCard&  setHours(const IString & s)       { Hours = s;return *this;};
  471.  
  472. inline IString date()  { return Date; };
  473. inline IString projectName()  { return ProjectName;};
  474. inline IString taskName()     { return TaskName;};
  475. inline IString hours()        { return Hours;};
  476.  
  477. private: //----------------------- PRIVATE ----------------------------------
  478.  
  479. IString
  480.   Date,
  481.   ProjectName,
  482.   TaskName,
  483.   Hours;
  484.  
  485. IString
  486.   employeeNum; // the key
  487.  
  488. };
  489.  
  490.  
  491. //----------------------------------------------------------------------------
  492. // Class LTimeCardData :: LTimeCardData()
  493. //----------------------------------------------------------------------------
  494. class LTimeCardData  : public IBase
  495. {
  496. public: // ---------------------- PUBLIC -------------------------------------
  497.  
  498. friend class TimeCardPage;
  499. friend class TimeCard;
  500. friend class DrawingArea;
  501. friend class TaskPage;
  502. friend class LTimeCardPieChart;
  503.  
  504. //----------------------- Contructor/Destructor ------------------------------
  505. // Class LTimeCardData :: LTimeCardData()
  506. //----------------------------------------------------------------------------
  507.   LTimeCardData(const char * empNum, const IDate &weekEnding);
  508.   ~LTimeCardData();
  509.  
  510. inline IString employeeNumber() const {return employeeNum;};
  511.  
  512. protected: //----------------------- PROTECTED --------------------------------
  513.  
  514. LTimeCardData& load(const  IString empNum);
  515. LTimeCardData& save(const  IString empNum);
  516.  
  517. private: //----------------------- PRIVATE ----------------------------------
  518.  
  519. IDate
  520.   theWeek;
  521.  
  522. TCard
  523.   tcard[tcEntries];
  524.  
  525. IString
  526.   employeeNum;
  527.  
  528. };
  529.  
  530.  
  531. //----------------------------------------------------------------------------
  532. // Class LAcctData :: LAcctData()
  533. //----------------------------------------------------------------------------
  534. class LAcctData  : public IBase
  535. {
  536. public: // ---------------------- PUBLIC -------------------------------------
  537.  
  538.   enum Rule {
  539.              na,
  540.              file,
  541.              add,
  542.              replace,
  543.              remove
  544.              };
  545.  
  546. //----------------------- Contructor/Destructor ------------------------------
  547. // Class LAcctData :: LAcctData()
  548. //----------------------------------------------------------------------------
  549.  
  550.   LAcctData(const IString empNum = NULL);
  551.   LAcctData(LQueryData& qd);
  552.  
  553.   ~LAcctData();
  554.  
  555. LAcctData&
  556.   save(const IString empNum);
  557.  
  558. LAcctData&
  559.   deleteCurrentItem();
  560.  
  561. Boolean
  562.   getItem(  IString& i1,
  563.             IString& i2,
  564.             Rule& rule,
  565.             Boolean useKey = true);
  566.  
  567. Boolean
  568.   getItem(  IString& i1,
  569.             IString& i2,
  570.             Boolean useKey=true);
  571.  
  572. LAcctData&
  573.   putItem(  const IString& i1,
  574.             const IString& i2,
  575.             const Rule&  rule=add );
  576.  
  577. LAcctData&
  578.   emptyBag();
  579.  
  580.       inline Boolean
  581.          getNext()  { itemsCur.setToNext();
  582.                       return itemsCur.isValid();}
  583.       inline Boolean
  584.          setFirst() { itemsCur.setToFirst();
  585.                       return itemsCur.isValid();}
  586. inline Boolean
  587.   isValid(){ return itemsCur.isValid();}
  588.  
  589. inline IString theRange() const {return TheRange;};
  590.  
  591. inline IString employeeNumber() const {return employeeNum;};
  592.  
  593. LAcctData&
  594.   operator = ( const LAcctData& from );
  595.  
  596. protected: //----------------------- PROTECTED---------------------------------
  597.  
  598. LAcctData&
  599.   load(const IString empNum);
  600.  
  601. LAcctData&
  602.   loadQueryData(LQueryData& qd);
  603.  
  604. Items
  605.   getItems() const {return items;};
  606.  
  607. Items::Cursor
  608.   getItemsCursor() const {return itemsCur;};
  609.  
  610. private: //----------------------- PRIVATE ----------------------------------
  611.  
  612. Items
  613.   items;
  614.  
  615. Items::Cursor
  616.   itemsCur;
  617.  
  618. IString
  619.   employeeNum,
  620.   TheRange;
  621.  
  622. };
  623.  
  624.  
  625.  
  626. //----------------------------------------------------------------------------
  627. // Class LTaskData :: LTaskData()
  628. //----------------------------------------------------------------------------
  629. class LTaskData : public IBase
  630. {
  631. public: // ---------------------- PUBLIC -------------------------------------
  632.  
  633. enum Rule {
  634.            na,
  635.            file,
  636.            add,
  637.            replace,
  638.            remove
  639.            };
  640.  
  641. //----------------------- Contructor/Destructor ------------------------------
  642. // Class LTaskData :: LTaskData()
  643. //----------------------------------------------------------------------------
  644.   LTaskData(const IString empNum=NULL);
  645.   ~LTaskData();
  646.  
  647. LTaskData&
  648.   save(const IString empNum);
  649.  
  650.       inline Boolean
  651.          getNext() { itemsCur.setToNext();
  652.                      return itemsCur.isValid();}
  653.  
  654.       inline Boolean 
  655.          setFirst() { return(itemsCur.setToFirst());}
  656.  
  657. LTaskData&
  658.   deleteCurrentItem();
  659.  
  660. Boolean
  661.   getItem(  IString& i1,
  662.             IString& i2,
  663.             IString& i3,
  664.             Rule& rule);
  665.  
  666. Boolean
  667.   putItem(   const IString& i1,
  668.              const IString& i2,
  669.              const IString& i3,
  670.              const Rule&  rule=add );
  671.  
  672. LTaskData&
  673.   emptyBag();
  674.  
  675. Boolean
  676.   isInAndBillable(const IString& theKey, const IString& theTask );
  677.  
  678. inline IString employeeNumber() const {return employeeNum;};
  679.  
  680. LTaskData&
  681.   operator = ( const LTaskData& from );
  682.  
  683. protected: //----------------------- PROTECTED---------------------------------
  684.  
  685. LTaskData&
  686.   load(const  IString empNum);
  687.  
  688. Items
  689.   getItems() const {return items;};
  690.  
  691. Items::Cursor
  692.   getItemsCursor() const {return itemsCur;};
  693.  
  694. private: //----------------------- PRIVATE ----------------------------------
  695.  
  696. Items
  697.   items;
  698.  
  699. Items::Cursor
  700.   itemsCur;
  701.  
  702. IString
  703.   employeeNum;
  704.  
  705. };
  706.  
  707.  
  708. //----------------------------------------------------------------------------
  709. // Class LQueryData :: LQueryData()
  710. //----------------------------------------------------------------------------
  711. class LQueryData : public IBase
  712. {
  713. public: // ---------------------- PUBLIC -------------------------------------
  714. //----------------------- Contructor/Destructor ------------------------------
  715. // Class LQueryData :: LQueryData()
  716. //----------------------------------------------------------------------------
  717.   LQueryData(const  IString qryName="");
  718.   ~LQueryData();
  719.  
  720. Boolean 
  721.   saveIni(const  IString qryName="");
  722.  
  723. Boolean
  724.   setFirstWithKey(char*  aKey );
  725.  
  726. Boolean
  727.   getNextWithKey(char*   akey);
  728.  
  729. LQueryData&
  730.   deleteItem(IString& queryName );
  731.  
  732. Boolean
  733.   getItem(  IString& i1,
  734.             IString& i2,
  735.             IString& i3);
  736.  
  737. LQueryData& putItem(  const IString& i1,
  738.                      const IString& i2,
  739.                      const IString& i3 = IString(""),
  740.                      const IString& i4 = IString(""));
  741.  
  742. inline Boolean isValid() {return itemsCur.isValid();};
  743. inline IString queryName() {return QueryName;};
  744.  
  745. LQueryData&  emptyBag();
  746.  
  747. protected: //----------------------- PROTECTED ---------------------------------
  748.  
  749. LQueryData&
  750.   loadIni(const  IString qryName="");
  751.  
  752. private: //----------------------- PRIVATE---------------------------------
  753.  
  754. Items
  755.   items;
  756.  
  757. Items::Cursor
  758.   itemsCur;
  759.  
  760. IString             QueryName;    // the key
  761.  
  762. };
  763.  
  764.  
  765. //----------------------------------------------------------------------------
  766. // Class LDeleteEmployee :: LDeleteEmployee()
  767. //----------------------------------------------------------------------------
  768. class LDeleteEmployee : public IBase
  769. {
  770.  
  771. public: // ---------------------- PUBLIC -------------------------------------
  772.  
  773. //----------------------- Contructor/Destructor ------------------------------
  774. // Class LDeleteEmployee :: LDeleteEmployee()
  775. //----------------------------------------------------------------------------
  776.   LDeleteEmployee();
  777.   ~LDeleteEmployee();
  778.  
  779. LDeleteEmployee&
  780.   deleteFromDataBase(const IString& empNum);
  781.  
  782.  
  783. IProfile
  784.   emplDB,
  785.   acctDB,
  786.   badgeDB,
  787.   projectDB,
  788.   skillDB,
  789.   statusDB,
  790.   taskDB,
  791.   timecDB,
  792.   workDB;
  793.  
  794. };
  795.  
  796. #endif
  797.