Changeset 1187


Ignore:
Timestamp:
Sep 10, 2008, 11:58:04 PM (17 years ago)
Author:
John Small
Message:

Ticket 187: Draft 2: Move remaining function declarations

Location:
trunk/dll
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/avv.h

    r1170 r1187  
     1
     2/***********************************************************************
     3
     4  $Id: $
     5
     6  <<description here>>
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2001, 2008 Steven H. Levine
     10
     11  05 Sep 08 JBS Ticket 187: Refactor FM3DLL.H
     12
     13***********************************************************************/
     14
     15#if !defined(AVV_H)
     16
     17#define AVV_H
     18
    119MRESULT EXPENTRY ArcReviewDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
    220                                  MPARAM mp2);
     
    422VOID rewrite_archiverbb2(CHAR * archiverbb2);
    523
     24#endif  // AVV_H
  • trunk/dll/input.c

    r907 r1187  
    2626#include "errutil.h"                    // Dos_Error...
    2727#include "strutil.h"                    // GetPString
     28#include "input.h"
    2829#include "fm3dll.h"
    2930
  • trunk/dll/mkdir.c

    r1163 r1187  
    2222#define INCL_LONGLONG                   // dircnrs.h
    2323
     24#include "fm3dll.h"
    2425#include "fm3dlg.h"
    2526#include "fm3str.h"
     
    2930#include "mkdir.h"
    3031#include "walkem.h"                     // WalkTargetDlgProc
    31 #include "fm3dll.h"
     32#include "misc.h"                       // Broadcast
     33#include "valid.h"                      // IsFullName
     34#include "dirs.h"                       // save_dir2
     35#include "input.h"                      // InputDlgProc
    3236
    3337#pragma alloc_text(MKDIR,MassMkdir,SetDir,PMMkDir,SetTargetDir)
  • trunk/dll/presparm.h

    r1167 r1187  
    1616#define PRESPARM_H
    1717
     18VOID CopyPresParams(HWND target, HWND source);
     19VOID PresParamChanged(HWND hwnd, CHAR * keyroot, MPARAM mp1, MPARAM mp2);
     20VOID RestorePresParams(HWND hwnd, CHAR * keyroot);
    1821VOID SavePresParams(HWND hwnd, CHAR * keyroot);
     22#ifdef INCL_GPI
     23VOID SetPresParams(HWND hwnd, RGB2 * back, RGB2 * fore, RGB2 * border,
     24                   CHAR * font);
     25#endif
    1926
    2027
  • trunk/dll/remap.c

    r1162 r1187  
    2828#define INCL_LONGLONG                   // dircnrs.h
    2929
     30#include "fm3dll.h"
    3031#include "fm3dlg.h"
    3132#include "fm3str.h"
     
    3334#include "strutil.h"                    // GetPString
    3435#include "pathutil.h"                   // BldFullPathName
    35 #include "valid.h"                      // FillInDriveFlags
     36#include "valid.h"                      // CheckDrive, FillInDriveFlags
    3637#include "remap.h"
    37 #include "fm3dll.h"
     38#include "wrappers.h"                   // xfgets
     39#include "strips.h"                     // bstrip
     40#include "misc.h"                       // CheckDriveSpaceAvail
     41#include "systemf.h"                    // runemf2
     42#include "dirs.h"                       // save_dir2
    3843#include "fortify.h"
    3944
  • trunk/dll/seticon.c

    r1163 r1187  
    2626#include "seticon.h"
    2727#include "fm3dll.h"
     28#include "wrappers.h"                   // xfsopen
    2829#include "fortify.h"
    2930
  • trunk/dll/systemf.h

    r1170 r1187  
    1616#define SYSTEMF_H
    1717
     18INT ExecOnList(HWND hwnd, CHAR * command, INT flags, CHAR * tpath,
     19               CHAR ** list, CHAR * prompt, PCSZ pszCallingFile, UINT uiLineNumber);
    1820BOOL ShowSession(HWND hwnd, PID pid);
     21INT runemf2(INT type, HWND hwnd, PCSZ pszCallingFile, UINT uiLineNumber,
     22            CHAR * directory, CHAR * environment,
     23            CHAR * formatstring, ...);
     24
     25#define RUNTYPE_MASK  0xf
     26#define SYNCHRONOUS   1
     27#define ASYNCHRONOUS  2
     28#define DETACHED      3
     29#define SEPARATE      4
     30#define SEPARATEKEEP  5
     31#define WINDOWED      16
     32#define MAXIMIZED     32
     33#define MINIMIZED     64
     34#define FULLSCREEN    128
     35#define INVISIBLE     256
     36#define BACKGROUND    512
     37#define WAIT          1024
     38#define PROMPT        2048
     39#define KEEP          4096
     40#define ONCE          8192
     41#define DIEAFTER      16384
     42#define SEAMLESS      32768
     43#define CHILD         65536
     44
    1945
    2046
  • trunk/dll/valid.c

    r1162 r1187  
    3838#define INCL_LONGLONG
    3939
     40#include "fm3dll.h"
    4041#include "fm3str.h"
    4142#include "errutil.h"                    // Dos_Error...
    4243#include "strutil.h"                    // GetPString
    4344#include "valid.h"
    44 #include "fm3dll.h"
     45#include "dirs.h"                       // save_dir2
     46#include "strips.h"                     // bstrip
    4547
    4648static PSZ pszSrcFile = __FILE__;
     
    4850//static BOOL IsDesktop(HAB hab, HWND hwnd);
    4951//static BOOL IsFileSame(CHAR * filename1, CHAR * filename2);
     52//static char *IsVowel(char a);
    5053
    5154APIRET MakeFullName(char *pszFileName)
     
    943946}
    944947
     948#if 0   // JBS
    945949char *IsVowel(char a)
    946950{
    947951  return (strchr("aeiouAEIOU", a) != NULL) ? "n" : NullStr;
    948952}
     953#endif
    949954
    950955VOID GetDesktopName(CHAR * objectpath, ULONG size)
  • trunk/dll/valid.h

    r1170 r1187  
     1
     2/***********************************************************************
     3
     4  $Id: $
     5
     6  <<description here>>
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2001, 2008 Steven H. Levine
     10
     11  05 Sep 08 JBS Ticket 187: Refactor FM3DLL.H
     12
     13***********************************************************************/
     14
     15#if !defined(VALID_H)
     16
     17#define VALID_H
     18
    119VOID ArgDriveFlags(INT argc, CHAR ** argv);
     20INT CheckDrive(CHAR Drive, CHAR * FileSystem, ULONG * type);
    221VOID DriveFlagsOne(INT x);
    322VOID FillInDriveFlags(VOID * dummy);
     
    524BOOL IsBinary(CHAR * str, ULONG len);
    625BOOL IsExecutable(CHAR * filename);
     26INT IsFile(CHAR * filename);
     27BOOL IsFullName(CHAR * filename);
    728BOOL IsNewer(char *file1, char *file2);
     29BOOL IsRoot(CHAR * filename);
    830BOOL IsValidDir(CHAR * test);
    931BOOL IsValidDrive(CHAR drive);
     32APIRET MakeFullName(char *filename);
     33CHAR *MakeValidDir(CHAR * path);
     34BOOL ParentIsDesktop(HWND hwnd, HWND hwndParent);
     35char *RootName(char *filename);
     36BOOL TestBinary(CHAR * filename);
    1037int TestCDates(CDATE *datevar1, CTIME *timevar1, CDATE *datevar2, CTIME *timevar2);
    1138int TestFDates(char *file1, char *file2, FDATE *datevar1, FTIME *timevar1,
    1239               FDATE *datevar2, FTIME *timevar2);
     40CHAR *assign_ignores(CHAR * s);
     41BOOL needs_quoting(CHAR * f);
    1342
     43#endif  // VALID_H
  • trunk/dll/viewer.c

    r1162 r1187  
    2828#define INCL_LONGLONG
    2929
     30#include "fm3dll.h"
    3031#include "fm3dlg.h"
    3132#include "fm3str.h"
     
    3940#include "codepage.h"                   // PickCodepage
    4041#include "dirs.h"                       // switch_to
    41 #include "fm3dll.h"
     42#include "input.h"                      // InputDlgProc
     43#include "valid.h"                      // ParentIsDesktop
     44#include "chklist.h"                    // PopupMenu
     45#include "newview.h"                    // StartViewer
     46#include "getnames.h"                   // export_filename
    4247#include "misc.h"                       // SetMenuCheck, disable_menuitem
     48#include "fonts.h"                      // SetMLEFont
     49#include "wrappers.h"                   // xfopen
    4350#include "fortify.h"
    4451
Note: See TracChangeset for help on using the changeset viewer.