Changeset 286


Ignore:
Timestamp:
Jan 6, 2010, 7:33:18 PM (11 years ago)
Author:
rbri
Message:

support debugging via pmprintf

Location:
trunk/Lucide/SOURCE/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/lucide.h

    r266 r286  
    3838#include "globals.h"
    3939
     40// debug support
     41#ifdef __TEST__
     42#define   _PMPRINTF_
     43#endif
     44#include  "PMPRINTF.H"
    4045
    4146class LuDocument;
     
    6166    private:
    6267   
    63                 static ProgressDlg *loadProgressDlg;
    64                 static char docFullName[ CCHMAXPATH ];
    65                 static char docDirName[ CCHMAXPATHCOMP ];
    66                 static char *password;
    67                 static bool docLoaded;
    68                 static long loadErrorCode;
    69                 static char *loadError;
    70                 static bool isMaxview;
    71                 static bool isFullscreen;
    72                 static LuWindowPos winPos;
     68        static ProgressDlg *loadProgressDlg;
     69        static char docFullName[ CCHMAXPATH ];
     70        static char docDirName[ CCHMAXPATHCOMP ];
     71        static char *password;
     72        static bool docLoaded;
     73        static long loadErrorCode;
     74        static char *loadError;
     75        static bool isMaxview;
     76        static bool isFullscreen;
     77        static LuWindowPos winPos;
    7378   
    7479        static void setOfPages( long pages );
     
    8388
    8489    public:
    85                 static char docFileName[ CCHMAXPATHCOMP ];
     90        static char docFileName[ CCHMAXPATHCOMP ];
    8691        static bool dontSwitchPage;
    8792        static SHORT splitterPos;
    8893        static bool showIndex;
    89                 static ActiveWindow activeWindow;
     94        static ActiveWindow activeWindow;
    9095       
    9196        static void newWindow( char *file, bool addDir );
  • trunk/Lucide/SOURCE/gui/makefile

    r271 r286  
    11.autodepend
    22
    3 TEST=0
    4 VERSION=1.22
     3TEST=1
     4VERSION=1.30 beta1
    55
    66!if $(TEST)==1
    7         BMODE=os2v2
     7    BMODE=os2v2
    88!else
    9         BMODE=os2v2_pm
     9    BMODE=os2v2_pm
    1010!endif
    1111
     
    2020
    2121.CPP.OBJ:
    22      WPP386 @make.cfg -xs -fo$@ $<
     22    WPP386 @make.cfg -xs -fo$@ $<
    2323
    2424.C.OBJ:
    25      WCC386 @make.cfg -fo$@ $<
     25    WCC386 @make.cfg $(CFLAGS) -fo$@ $<
    2626
    2727.idl.xh:
     
    8080lib libconv
    8181lib libuls
     82lib PMPRINTF
    8283export LucideMain
    8384| tmpmake.lnk >NUL
Note: See TracChangeset for help on using the changeset viewer.