Changeset 1183 for trunk/dll


Ignore:
Timestamp:
Sep 10, 2008, 11:56:13 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/arccnrs.c

    r1160 r1183  
    7979#define INCL_LONGLONG
    8080
     81#include "fm3dll.h"
    8182#include "arccnrs.h"                    // StartArcCnr
    8283#include "fm3dlg.h"
     
    9293#include "chklist.h"                    // CenterOverWindow, CheckListProc
    9394#include "common.h"                     // CommonCreateTextChildren, CommonFrameWndProc, CommonTextPaint
    94 #include "draglist.h"                   // DragOne
     95                                        // CommonTextButton
     96#include "draglist.h"                   // DoFileDrag, DragOne
    9597#include "valid.h"                      // GetDesktopName, TestCDates
    96 #include "mainwnd.h"                    // MakeBubble, TopWindowName
     98#include "mainwnd.h"                    // GetNextWindowPos, MakeBubble, TopWindowName
    9799#include "objwin.h"                     // MakeObjWin
    98100#include "shadow.h"                     // MakeShadows
     
    100102#include "printer.h"                    // PrintListThread
    101103#include "srchpath.h"                   // RunFM2Util
    102 #include "misc.h"                       // SayFilter, SaySort
     104#include "misc.h"                       // Broadcast, CheckMenu, CurrentRecord, SayFilter, SaySort
     105                                        // DrawTargetEmphasis, IsFm2Window
    103106#include "select.h"                     // SelectAll, SelectList
    104107#include "findrec.h"                    // ShowCnrRecord
    105108#include "walkem.h"                     // WalkExtractDlgProc
    106 #include "fm3dll.h"
     109#include "droplist.h"                   // AcceptOneDrop, CheckPmDrgLimit, DropHelp, GetOneDrop
     110#include "archive.h"                    // ArchiveDlgProc
     111#include "common.h"                     // CommonTextProc
     112#include "presparm.h"                   // CopyPresParams
     113#include "defview.h"                    // DefaultViewKeys
     114#include "systemf.h"                    // ExecOnList
     115#include "filter.h"                     // PickMaskDlgProc
     116#include "avl.h"                        // SBoxDlgProc
     117#include "mkdir.h"                      // SetDir
     118#include "collect.h"                    // StartCollector
     119#include "viewer.h"                     // StartMLEEditor
     120#include "newview.h"                    // StartViewer
     121#include "commafmt.h"                   // commafmt
     122#include "copyf.h"                      // unlinkf
     123#include "literal.h"                    // wildcard
     124#include "wrappers.h"                   // xrealloc
    107125#include "misc.h"                       // AdjustCnrColVis, QuickPopup, SetSortChecks, SwitchCommand
    108126#include "select.h"                     // DeselectAll, InvertAll
     127#include "strips.h"                     // bstrip
     128#include "dirs.h"                       // save_dir2
    109129#include "fortify.h"
    110130
  • trunk/dll/autoview.h

    r1166 r1183  
     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(AUTOVIEW_H)
     16
     17#define AUTOVIEW_H
     18
    119MRESULT EXPENTRY AttrListDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
    220                                 MPARAM mp2);
     
    523                    ULONG startval, BOOL longlead);
    624
     25#endif  // AUTOVIEW_H
  • trunk/dll/codepage.c

    r1159 r1183  
    2121#define INCL_LONGLONG                   // dircnrs.h
    2222
     23#include "fm3dll.h"
    2324#include "fm3dlg.h"
    2425#include "fm3str.h"
     
    2627#include "errutil.h"                    // Runtime_Error
    2728#include "codepage.h"
    28 #include "fm3dll.h"
     29#include "misc.h"                       // PostMsg
    2930
    3031#pragma data_seg(DATA1)
  • trunk/dll/dirs.h

    r1166 r1183  
    1616#define DIRS_H
    1717
     18APIRET save_dir(CHAR * curdir);
     19APIRET save_dir2(CHAR * curdir);
    1820APIRET switch_to(CHAR * s);
    1921
  • trunk/dll/droplist.h

    r1169 r1183  
    1616#define DROPLIST_H
    1717
     18BOOL AcceptOneDrop(HWND hwnd, MPARAM mp1, MPARAM mp2);
     19BOOL CheckPmDrgLimit(PDRAGINFO pDInfo);
     20LISTINFO *DoFileDrop(HWND hwndCnr, CHAR * directory, BOOL arcfilesok,
     21                     MPARAM mp1, MPARAM mp2);
     22void DropHelp(MPARAM mp1, MPARAM mp2, HWND hwnd, char *text);
    1823BOOL FullDrgName(PDRAGITEM pDItem, CHAR * buffer, ULONG buflen);
     24BOOL GetOneDrop(HWND hwnd, MPARAM mp1, MPARAM mp2, char *buffer, ULONG buflen);
    1925
    2026
  • trunk/dll/info.c

    r1160 r1183  
    3838#define INCL_LONGLONG
    3939
     40#include "fm3dll.h"
    4041#include "fm3dlg.h"
    4142#include "fm3str.h"
     
    4647#include "defview.h"                    // DefaultView
    4748#include "info.h"
    48 #include "valid.h"                      // IsBinary
     49#include "valid.h"                      // CheckDrive, IsBinary
    4950#include "seticon.h"                    // SetIconDlgProc
    50 #include "fm3dll.h"
     51#include "droplist.h"                   // AcceptOneDrop, DropHelp, GetOneDrop
     52#include "eas.h"                        // DisplayEAsProc
     53#include "misc.h"                       // DrawTargetEmphasis
     54#include "notify.h"                     // Notify
     55#include "shadow.h"                     // OpenObject
     56#include "chklist.h"                    // PopupMenu
     57#include "presparm.h"                   // SetPresParams
     58#include "strips.h"                     // bstrip
     59#include "commafmt.h"                   // CommaFmtULL
     60#include "wrappers.h"                   // xDosFindFirst
    5161#include "fortify.h"
    5262
  • trunk/dll/literal.c

    r1160 r1183  
    2929#define INCL_LONGLONG                   // dircnrs.h
    3030
     31#include "fm3dll.h"
    3132#include "errutil.h"                    // Dos_Error...
    3233#include "literal.h"
    33 #include "fm3dll.h"
     34#include "wrappers.h"                   // xmalloc
    3435#include "fortify.h"
    3536
  • trunk/dll/stristr.c

    r907 r1183  
    1818#include <os2.h>
    1919
    20 CHAR *stristr(register CHAR * t, CHAR * s)
     20#include "stristr.h"
     21
     22// static CHAR *strnistr(register CHAR * t, CHAR * s, LONG len);
     23
     24CHAR *stristr(const register CHAR * t, const CHAR * s)
     25// CHAR *stristr(register CHAR * t, CHAR * s)
    2126{
    2227  /* case-insensitive strstr() */
    2328
    24   register CHAR *t1, *s1;
     29  const register CHAR *t1, *s1;
    2530
    2631  while (*t) {
     
    3641    }
    3742    if (!*s1)
    38       return t1;
     43      return (CHAR *)t1;
    3944    t = t1 + 1;
    4045  }
     
    4247}
    4348
     49#if 0   // JBS
    4450CHAR *strnistr(register CHAR * t, CHAR * s, LONG len)
    4551{
     
    6672  return NULL;
    6773}
     74#endif
    6875
    6976CHAR *strnstr(register CHAR * t, CHAR * s, LONG len)
  • trunk/dll/uudecode.c

    r1160 r1183  
    2727#define INCL_LONGLONG                   // dircnrs.h
    2828
     29#include "fm3dll.h"
    2930#include "fm3dlg.h"
    3031#include "fm3str.h"
     
    3435#include "defview.h"
    3536#include "uudecode.h"
    36 #include "fm3dll.h"
     37#include "getnames.h"                   // export_filename
     38#include "valid.h"                      // IsFile
     39#include "misc.h"                       // PaintRecessedWindow
     40#include "wrappers.h"                   // xfgets
    3741
    3842static PSZ pszSrcFile = __FILE__;
  • trunk/dll/viewinf.c

    r1159 r1183  
    2929#define INCL_LONGLONG
    3030
     31#include "fm3dll.h"
    3132#include "fm3dlg.h"
    3233#include "fm3str.h"
     
    3435#include "strutil.h"                    // GetPString
    3536#include "pathutil.h"                   // BldFullPathName
    36 #include "fm3dll.h"
     37#include "common.h"                     // DecrThreadUsage, IncrThreadUsage
    3738#include "viewinf.h"
    3839#include "misc.h"                       // ViewHelp
     40#include "strips.h"                     // bstrip
     41#include "systemf.h"                    // runemf2
     42#include "dirs.h"                       // save_dir2
     43#include "wrappers.h"                   // xfopen
    3944#include "fortify.h"
    4045
Note: See TracChangeset for help on using the changeset viewer.