Changeset 1204


Ignore:
Timestamp:
Sep 13, 2008, 8:46:54 AM (17 years ago)
Author:
John Small
Message:

Ticket 187: Move datadevlarations/definitions out of fm3dll.h

Location:
trunk/dll
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/attribs.c

    r1177 r1204  
    2121
    2222#include "fm3dll.h"
     23#include "notebook.h"                   // Data declaration(s)
     24#include "info.h"                       // Data declaration(s)
     25#include "init.h"                       // Data declaration(s)
    2326#include "fm3dlg.h"
    2427#include "fm3str.h"
  • trunk/dll/autoview.c

    r1182 r1204  
    3838
    3939#include "fm3dll.h"
     40#include "killproc.h"                   // Data declaration(s)
     41#include "notebook.h"                   // Data declaration(s)
     42#include "avl.h"                        // Data declaration(s)
     43#include "inis.h"                       // Data declaration(s)
     44#include "init.h"                       // Data declaration(s)
     45#include "mainwnd.h"                    // Data declaration(s)
    4046#include "fm3dlg.h"
    4147#include "fm3str.h"
     
    5662#include "fortify.h"
    5763
     64static BOOL PutComments(HWND hwnd, CHAR * filename, CHAR * comments);
     65static BOOL WriteEA(HWND hwnd, CHAR * filename, CHAR * eaname, USHORT type,
     66             CHAR * data);
     67
     68// Data definitions
     69#pragma data_seg(GLOBAL1)
     70HWND hwndAutoMLE;
     71
     72#pragma data_seg(GLOBAL2)
     73ULONG AutoviewHeight;
     74
    5875#pragma data_seg(DATA1)
    59 
    6076static PSZ pszSrcFile = __FILE__;
    6177
     78static HWND AutoMenu;
    6279static HWND hwndAutoObj;
    6380static CHAR stopflag;
    6481static CHAR currfile[CCHMAXPATH];
    65 
    66 static BOOL PutComments(HWND hwnd, CHAR * filename, CHAR * comments);
    67 static BOOL WriteEA(HWND hwnd, CHAR * filename, CHAR * eaname, USHORT type,
    68              CHAR * data);
    6982
    7083BOOL WriteEA(HWND hwnd, CHAR * filename, CHAR * eaname, USHORT type,
  • trunk/dll/autoview.h

    r1194 r1204  
    2323                    ULONG startval, BOOL longlead);
    2424
     25// Data declarations
     26extern HWND hwndAutoMLE;
     27extern ULONG AutoviewHeight;
     28
    2529#endif  // AUTOVIEW_H
  • trunk/dll/avl.c

    r1180 r1204  
    4747
    4848#include "fm3dll.h"
     49#include "notebook.h"                   // Data declaration(s)
     50#include "init.h"                       // Data declaration(s)
     51#include "valid.h"                      // Data declaration(s)
     52#include "mainwnd.h"                    // Data declaration(s)
    4953#include "fm3dlg.h"
    5054#include "fm3str.h"
     
    6569#include "fortify.h"
    6670
     71// Data definitions
    6772static PSZ pszSrcFile = __FILE__;
    68 
    6973static void fill_listbox(HWND hwnd, BOOL fShowAll, SHORT sOldSelect);
    7074
     75#pragma data_seg(GLOBAL1)
     76ARC_TYPE *arcsighead;
     77UINT arcsigs_header_lines;              // Header comments line count in archiver.bb2
     78UINT arcsigs_trailer_line_num;          // Trailer comments start line number (1..n)
     79BOOL arcsigsloaded;
     80BOOL arcsigsmodified;
     81
    7182//=== quick_find_type() ===
    72 
    7383ARC_TYPE *quick_find_type(CHAR * filespec, ARC_TYPE * topsig)
    7484{
  • trunk/dll/avl.h

    r1194 r1204  
    9090VOID free_archivers(VOID);
    9191
    92 // 05 Jan 08 SHL fixme for avl.c globals to be here
     92// Data declarations
     93extern ARC_TYPE *arcsighead;
     94extern UINT arcsigs_header_lines;
     95extern UINT arcsigs_trailer_line_num;
     96extern BOOL arcsigsloaded;
     97extern BOOL arcsigsmodified;
    9398
    94 #ifdef DEFINE_GLOBALS
    95 #pragma data_seg(GLOBAL1)
    96 #endif
    9799
    98100#endif // AVL_H
  • trunk/dll/avv.c

    r1186 r1204  
    3838
    3939#include "fm3dll.h"
     40#include "arccnrs.h"                    // Data declaration(s)
     41#include "notebook.h"                   // Data declaration(s)
     42#include "init.h"                       // Data declaration(s)
     43#include "mainwnd.h"                    // Data declaration(s)
    4044#include "fm3dlg.h"
    4145#include "version.h"
     
    5559#include "fortify.h"
    5660
     61// Data definitions
    5762#pragma data_seg(DATA1)
    5863
     
    6772static PSZ free_and_strdup_quoted_from_window(HWND hwnd, USHORT id, PSZ pszDest);
    6873
     74#pragma data_seg(GLOBAL2)
     75CHAR archiverbb2[CCHMAXPATH];
     76
    6977//=== EditArchiverDefinition() Select archiver to edit definition ===
    70 
    7178VOID EditArchiverDefinition(HWND hwnd)
    7279{
  • trunk/dll/avv.h

    r1194 r1204  
    2222VOID rewrite_archiverbb2(CHAR * archiverbb2);
    2323
     24// Data declarations
     25extern CHAR archiverbb2[CCHMAXPATH];
     26
    2427#endif  // AVV_H
  • trunk/dll/chklist.c

    r1184 r1204  
    2525
    2626#include "fm3dll.h"
     27#include "notebook.h"                   // Data declaration(s)
     28#include "mainwnd.h"                    // Data declaration(s)
    2729#include "fm3dlg.h"
    2830#include "fm3str.h"
  • trunk/dll/cmdline.c

    r1177 r1204  
    3333
    3434#include "fm3dll.h"
     35#include "arccnrs.h"                    // Data declaration(s)
     36#include "fm2cmd.h"                     // Data declaration(s)
     37#include "notebook.h"                   // Data declaration(s)
     38#include "init.h"                       // Data declaration(s)
     39#include "newview.h"                    // Data declarations
    3540#include "fm3dlg.h"
    3641#include "fm3str.h"
     
    5156#include "fortify.h"
    5257
    53 static PSZ pszSrcFile = __FILE__;
    54 
    5558#define MAXNUMCMDLINES 250
    5659
     
    6467static LINKCMDLINES *DoItYourselfCmdLine = NULL, *MiniCmdLine = NULL;
    6568static BOOL DoItYourselfLoaded = FALSE, MiniLoaded = FALSE;
     69
     70// Data definitions
     71static PSZ pszSrcFile = __FILE__;
     72
     73#pragma data_seg(GLOBAL1)
     74BOOL fSaveBigCmds;
     75
    6676
    6777VOID load_cmdlines(BOOL DoItYourself)
  • trunk/dll/cmdline.h

    r1194 r1204  
    2323VOID save_cmdlines(BOOL big);
    2424
     25// Data declarations
     26extern BOOL fSaveBigCmds;
     27
    2528#endif  // CMDLINE_H
Note: See TracChangeset for help on using the changeset viewer.