Changeset 1182


Ignore:
Timestamp:
Sep 10, 2008, 11:55:47 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/autoview.c

    r1159 r1182  
    3737#define INCL_LONGLONG
    3838
     39#include "fm3dll.h"
    3940#include "fm3dlg.h"
    4041#include "fm3str.h"
     
    4647#include "defview.h"                    // DefaultView
    4748#include "valid.h"                      // IsBinary
    48 #include "fm3dll.h"
    49 
     49#include "misc.h"                       // CheckMenu
     50#include "common.h"                     // CommonTextButton
     51#include "presparm.h"                   // CopyPresParams
     52#include "eas.h"                        // DisplayEAsProc
     53#include "chklist.h"                    // PopupMenu
     54#include "wrappers.h"                   // xDosSetPathInfo
     55#include "commafmt.h"                   // CommaFmtULL
    5056#include "fortify.h"
    5157
  • trunk/dll/collect.h

    r1166 r1182  
     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(COLLECT_H)
     16
     17#define COLLECT_H
     18
    119MRESULT EXPENTRY CollectorClientWndProc(HWND hwnd, ULONG msg, MPARAM mp1,
    220                                        MPARAM mp2);
     
    523MRESULT EXPENTRY CollectorTextProc(HWND hwnd, ULONG msg, MPARAM mp1,
    624                                   MPARAM mp2);
     25HWND StartCollector(HWND hwndParent, INT flags);
    726
     27#endif  // COLLECT_H
  • trunk/dll/common.c

    r1159 r1182  
    3535#define INCL_LONGLONG                   // dircnrs.h
    3636
     37#include "fm3dll.h"
    3738#include "fm3dlg.h"
    3839#include "fm3str.h"
     
    4243#include "strutil.h"                    // GetPString
    4344#include "autoview.h"                   // AutoViewProc
    44 #include "mainwnd.h"                    // BuildDriveBarButtons, TopWindow
     45#include "mainwnd.h"                    // BuildDriveBarButtons, GetNextWindowPos, TopWindow
    4546#include "common.h"
    4647#include "dirsize.h"                    // DirSizeProc
    4748#include "info.h"                       // DrvInfoProc, SetDrvProc
    4849#include "seeall.h"                     // StartSeeAll
    49 #include "fm3dll.h"
     50#include "misc.h"                       // Broadcast
     51#include "valid.h"                      // CheckDrive
     52#include "mkdir.h"                      // PMMkDir
     53#include "presparm.h"                   // SetPresParams
     54#include "undel.h"                      // UndeleteDlgProc
     55#include "systemf.h"                    // runemf2
     56#include "wrappers.h"                   // xfree
    5057#include "fortify.h"
    5158
  • trunk/dll/common.h

    r1166 r1182  
    2525MRESULT EXPENTRY CommonMainWndProc(HWND hwnd, ULONG msg, MPARAM mp1,
    2626                                   MPARAM mp2);
     27MRESULT EXPENTRY CommonTextButton(HWND hwnd, ULONG msg, MPARAM mp1,
     28                                  MPARAM mp2);
    2729void CommonTextPaint(HWND hwnd, HPS hps);
    28 
     30MRESULT EXPENTRY CommonTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
     31VOID DecrThreadUsage(VOID);
     32VOID IncrThreadUsage(VOID);
     33HWND OpenDirCnr(HWND hwnd, HWND hwndParent, HWND hwndRestore,
     34                BOOL noautotile, char *directory);
    2935
    3036#endif // COMMON_H
  • trunk/dll/droplist.c

    r1159 r1182  
    3030#define INCL_LONGLONG
    3131
     32#include "fm3dll.h"
    3233#include "fm3str.h"
    3334#include "errutil.h"                    // Dos_Error...
    3435#include "strutil.h"                    // GetPString
    3536#include "droplist.h"
    36 #include "fm3dll.h"
     37#include "draglist.h"                   // FreeDragInfoData
     38#include "misc.h"                       // IsFm2Window
     39#include "wrappers.h"                   // xrealloc
    3740
    3841#include "fortify.h"
  • trunk/dll/filldir.c

    r1174 r1182  
    6363#define INCL_LONGLONG
    6464
     65#include "fm3dll.h"
    6566#include "fm3str.h"
    6667#include "filldir.h"
     
    7273#include "flesh.h"                      // FleshEnv, Stubby
    7374#include "update.h"                     // SelectDriveIcon
    74 #include "fm3dll.h"
     75#include "valid.h"                      // CheckDrive
     76#include "filter.h"                     // Filter
     77#include "subj.h"                       // Subject
     78#include "copyf.h"                      // unlinkf
     79#include "literal.h"                    // wildcard
     80#include "commafmt.h"                   // CommaFmtULL
     81#include "wrappers.h"                   // xDosFindNext
    7582
    7683static PSZ pszSrcFile = __FILE__;
  • trunk/dll/misc.c

    r1159 r1182  
    6565#define INCL_LONGLONG
    6666
     67#include "fm3dll.h"
    6768#include "fm3dlg.h"
    6869#include "fm3str.h"
     
    7576#include "copyf.h"                      // WriteLongName
    7677#include "strips.h"                     // chop_at_crnl
    77 #include "fm3dll.h"
     78#include "valid.h"                      // CheckDrive
     79#include "presparm.h"                   // CopyPresParams
     80#include "systemf.h"                    // ExecOnList
     81#include "viewer.h"                     // StartMLEEditor
     82#include "subj.h"                       // Subject
     83#include "wrappers.h"                   // xDosSetPathInfo
     84#include "commafmt.h"                   // CommaFmtULL
    7885#include "fortify.h"
    7986#include "misc.h"
  • trunk/dll/misc.h

    r1159 r1182  
    3535                           BOOL compare);
    3636void BoxWindow(HWND hwnd, HPS hps, LONG color);
     37void Broadcast(HAB hab, HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
     38INT CheckDriveSpaceAvail(CHAR *pTargetPath, ULONGLONG ullSpaceNeeded,
     39                         ULONGLONG ullFreeSpaceWhenComplete);
     40HWND CheckMenu(HWND hwnd, HWND * hwndMenu, USHORT id);
    3741MRESULT CnrDirectEdit(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
     42PMINIRECORDCORE CurrentRecord(HWND hwndCnr);
     43void DrawTargetEmphasis(HWND hwnd, BOOL on);
    3844void EmphasizeButton(HWND hwnd, BOOL on);
    3945INT ExecFile(HWND hwnd, CHAR * filename);
    4046HWND FindDirCnr(HWND hwndParent);
    4147VOID FixSwitchList(HWND hwnd, CHAR * text);
     48char *GetCmdSpec(BOOL dos);
    4249VOID HeapThread(VOID * dummy);
     50BOOL IsFm2Window(HWND hwnd, BOOL chkTid);
    4351VOID LoadDetailsSwitches(CHAR * keyroot, DETAILS_SETTINGS * pds);
    4452VOID LoadLibPath(CHAR * str, LONG len);
    4553VOID OpenEdit(HWND hwnd);
     54VOID PaintRecessedWindow(HWND hwnd, HPS hps, BOOL outtie, BOOL dbl);
    4655void PaintSTextWindow(HWND hwnd, HPS hps);
     56VOID PortholeInit(HWND hwndNew, MPARAM mp1, MPARAM mp2);
     57BOOL PostMsg(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
    4758VOID QuickPopup(HWND hwnd, DIRCNRDATA * dcd, HWND hwndMenu, USHORT id);
    4859void SayFilter(HWND hwnd, MASK * mask, BOOL archive);
     
    5465BOOL SetMenuCheck(HWND hwndMenu, USHORT id, BOOL * bool, BOOL toggle,
    5566                  CHAR * savename);
     67VOID SetShiftState(VOID);
    5668VOID SetSortChecks(HWND hwndMenu, INT sortflags);
    5769VOID SetSysMenu(HWND hwndSysMenu);
    5870void SetViewMenu(HWND hwndMenu, ULONG flWindowAttr);
     71VOID SetupCommandMenu(HWND hwndMenu, HWND hwndCnr);
     72void SetupWinList(HWND hwndMenu, HWND hwndTop, HWND hwndFrame);
    5973BOOL SwitchCommand(HWND hwndMenu, USHORT cmd);
    6074BOOL ViewHelp(CHAR * filename);
  • trunk/dll/shadow.h

    r1169 r1182  
    1818VOID MakeShadows(HWND hwnd, CHAR ** list, ULONG Shadows, CHAR * cnr,
    1919                 CHAR * foldername);
     20VOID OpenObject(CHAR * filename, CHAR * type, HWND hwnd);
    2021BOOL RunSeamless(CHAR * exename, CHAR * args, HWND hwnd);
    2122
  • trunk/dll/wrappers.c

    r1063 r1182  
    2929
    3030#include "fm3dll.h"
     31#include "wrappers.h"
    3132#include "fm3str.h"
    3233#include "errutil.h"                    // Dos_Error...
     
    3536#include "tools.h"
    3637#include "avl.h"
     38#include "strips.h"                     // bstrip
    3739
    3840#include "fortify.h"                    // GetPString
Note: See TracChangeset for help on using the changeset viewer.