Changeset 1178


Ignore:
Timestamp:
Sep 10, 2008, 11:53:43 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/attribs.h

    r1165 r1178  
     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(ATTRIBS_H)
     16
     17#define ATTRIBS_H
     18
    119MRESULT EXPENTRY AttrListDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
    220                                 MPARAM mp2);
    321
     22#endif  // ATTRIBS_H
  • trunk/dll/cmdline.h

    r1168 r1178  
     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(CMDLINE_H)
     16
     17#define CMDLINE_H
     18
    119MRESULT EXPENTRY CmdLine2DlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
    220                                 MPARAM mp2);
     
    523VOID save_cmdlines(BOOL big);
    624
     25#endif  // CMDLINE_H
  • trunk/dll/datamin.c

    r1156 r1178  
    3535#define INCL_LONGLONG
    3636
     37#include "fm3dll.h"
    3738#include "fm3dlg.h"
    3839#include "fm3str.h"
     
    4546#include "sysinfo.h"                    // SysInfoDlgProc
    4647#include "mainwnd.h"                    // TopWindowName
    47 #include "fm3dll.h"
     48#include "commafmt.h"                   // CommaFmtUL
     49#include "common.h"                     // OpenDirCnr
     50#include "shadow.h"                     // OpenObject
     51#include "chklist.h"                    // PopupMenu
     52#include "presparm.h"                   // SetPresParams
     53#include "undel.h"                      // UndeleteDlgProc
     54#include "misc.h"                       // GetCmdSpec
     55#include "wrappers.h"                   // xDosFindFirst
     56#include "systemf.h"                    // runemf2
    4857#include "fortify.h"
    4958
  • trunk/dll/fsopen.c

    r907 r1178  
    2828
    2929#include "fm3dll.h"
     30#include "stristr.h"                    // stristr
    3031
    3132#pragma alloc_text(FSOPEN,_fsopen)
  • trunk/dll/instant.c

    r1156 r1178  
    2323#define INCL_LONGLONG                   // dircnrs.h
    2424
     25#include "fm3dll.h"
    2526#include "fm3dlg.h"
    2627#include "fm3str.h"
     
    2930#include "strutil.h"                    // GetPString
    3031#include "instant.h"
    31 #include "fm3dll.h"
     32#include "misc.h"                       // GetCmdSpec
     33#include "systemf.h"                    // runemf2
     34#include "strips.h"                     // bstrip
    3235
    3336#pragma data_seg(DATA1)
  • trunk/dll/internal/mkstr.c

    r551 r1178  
    2222#include <ctype.h>
    2323
     24#define INCL_LONGLONG
     25#include <os2.h>
     26
     27#include "..\fm3dll.h"
     28#include "..\fm3str.h"
    2429#include "..\version.h"
    25 #include "..\fm3str.h"
     30
     31static int  literal(char *fsource);
    2632
    2733/*
     
    6773#define DEC "0123456789"
    6874
    69 int literal(char *fsource)
     75int  literal(char *fsource)
    7076{
    7177
  • trunk/dll/objwin.c

    r1173 r1178  
    2727#include "errutil.h"                    // Win_Error
    2828#include "fortify.h"
    29 #ifdef FORTIFY
    3029#include "misc.h"                       // GetTidForThread
    31 #endif
    3230#include "collect.h"                    // CollectorObjWndProc
    3331#include "objwin.h"
  • trunk/dll/strips.h

    r1168 r1178  
    2020VOID remove_first_occurence_of_character(char *pszRemoveChar, char *pszSrc);
    2121
     22/* strips.c */
     23void strip_lead_char(char *pszStripChars, char *pszSrc);
     24void strip_trail_char(char *pszStripChars, char *pszSrc);
     25#define lstrip(s)         strip_lead_char(" \t",(s))
     26#define rstrip(s)         strip_trail_char(" \t",(s))
     27#define stripcr(s)        strip_trail_char("\r\n",(s))
     28// Strip leading and trailing white
     29#define bstrip(s)         (strip_lead_char(" \t",(s)),strip_trail_char(" \t",(s)))
     30// Strip leading and trailing white and trail cr/nl
     31#define bstripcr(s)       (strip_lead_char(" \t",(s)),strip_trail_char("\r\n \t",(s)))
     32
     33
    2234
    2335#endif // STRIPS_H
  • trunk/dll/sysinfo.c

    r1156 r1178  
    2525#define INCL_LONGLONG
    2626
     27#include "fm3dll.h"
     28#include "fm3dlg.h"
    2729#include "pathutil.h"                   // BldFullPathName
    28 #include "fm3dlg.h"
    2930#include "sysinfo.h"
    30 #include "fm3dll.h"
     31#include "copyf.h"                      // unlinkf
     32#include "wrappers.h"                   // xfgets
     33#include "systemf.h"                    // runemf2
     34#include "misc.h"                       // PostMsg
     35#include "strips.h"                     // bstrip
    3136
    3237#pragma data_seg(DATA1)
  • trunk/dll/treecnr.c

    r1157 r1178  
    5959#define INCL_LONGLONG
    6060
     61#include "fm3dll.h"
    6162#include "fm3dlg.h"
    6263#include "fm3str.h"
     
    6970#include "command.h"                    // RunCommand
    7071#include "worker.h"                     // Action, MassAction
    71 #include "mainwnd.h"                    // BubbleHelp, FindDirCnrByName
     72#include "mainwnd.h"                    // BubbleHelp, FindDirCnrByName, GetNextWindowPos
    7273#include "misc.h"                       // CnrDirectEdit, EmphasizeButton, FindDirCnr
    7374                                        // FindDirCnr, FixSwitchList, OpenEdit, QuickPopup
    74                                         // SetSortChecks, SwitchCommand
     75                                        // SetSortChecks, SwitchCommand, CheckMenu
     76                                        // CurrentRecord, IsFm2Window
    7577#include "common.h"                     // CommonCnrProc, CommonDriveCmd, CommonFrameWndProc
    76 #include "valid.h"                      // DriveFlagsOne, IsValidDrive
     78                                        // CommonTextProc
     79#include "valid.h"                      // CheckDrive, DriveFlagsOne, IsValidDrive
    7780#include "chklist.h"                    // DropListProc
    7881#include "select.h"                     // ExpandAll
    79 #include "findrec.h"                    // FindParentRecord, ShowCnrRecord
     82#include "findrec.h"                    // FindCnrRecord, FindParentRecord, ShowCnrRecord
    8083#include "flesh.h"                      // Flesh, UnFlesh
    8184#include "notify.h"                     // HideNote
     
    8790#include "update.h"                     // SelectDriveIcon, UpdateCnrList, UpdateCnrRecord
    8891#include "sortcnr.h"                    // SortTreeCnr
    89 #include "fm3dll.h"
    90 
     92#include "droplist.h"                   // AcceptOneDrop, CheckPmDrgLimit, DropHelp, GetOneDrop
     93#include "presparm.h"                   // CopyPresParams
     94#include "defview.h"                    // DefaultViewKeys
     95#include "draglist.h"                   // DoFileDrag
     96#include "filter.h"                     // Filter
     97#include "shadow.h"                     // OpenObject
     98#include "mkdir.h"                      // PMMkDir
     99#include "collect.h"                    // StartCollector
     100#include "viewer.h"                     // StartMLEEditor
     101#include "newview.h"                    // StartViewer
     102#include "walkem.h"                     // WalkAllDlgProc
     103#include "commafmt.h"                   // CommaFmtULL
     104#include "wrappers.h"                   // xDosFindFirst
     105#include "systemf.h"                    // runemf2
     106#include "dirs.h"                       // save_dir2
    91107#include "fortify.h"
    92108
Note: See TracChangeset for help on using the changeset viewer.