home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 November / PCONLINE_11_99.ISO / filesbbs / OS2 / ACDCR032.ZIP / source / dataoverriddenwpclsmethods.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-07  |  1.4 KB  |  51 lines

  1. /*
  2.  * This file is (C) Chris Wohlgemuth 1999
  3.  */
  4. /*
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2, or (at your option)
  8.  * any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; see the file COPYING.  If not, write to
  17.  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  */
  19.  
  20. #include "audiofolder.hh"
  21. #include "audiofolderhelp.h"
  22.  
  23. #include <stdlib.h>
  24. #include <stdio.h>
  25.  
  26. /* Overriden function which returns our class name */
  27. PSZ M_CWDataFolder::wpclsQueryTitle()
  28. {
  29.   return "Data-CD-Creator";
  30. }
  31.  
  32. ULONG M_CWDataFolder::wpclsQueryStyle()
  33. {
  34.   /* CWProgFolder returns *_NEVERTEMPLATE but we want a template */
  35.   return M_WPFolder::wpclsQueryStyle();
  36. }
  37.  
  38. BOOL M_CWDataFolder::wpclsQueryDefaultHelp(PULONG HelpPanelId,PSZ HelpLibrary)
  39. {
  40.     if(HelpLibrary)
  41.         strcpy(HelpLibrary,AFHELPLIBRARY);
  42.     if(HelpPanelId)
  43.         *HelpPanelId= IDHLP_DATACDMAIN;
  44.     
  45.     return TRUE;
  46. }
  47.  
  48.  
  49.  
  50.  
  51.