COOPY » Guide  version 0.6.5
Defines | Functions | Variables
/home/paulfitz/cvs/coopy_scm/coopy/src/gui/src/coopy.cpp File Reference
#include <wx/wx.h>
#include <wx/wxprec.h>
#include <wx/dcbuffer.h>
#include <wx/image.h>
#include <wx/cmdline.h>
#include <wx/dirdlg.h>
#include <wx/textdlg.h>
#include <wx/filefn.h>
#include <wx/filename.h>
#include <wx/file.h>
#include <wx/textfile.h>
#include <wx/textctrl.h>
#include <wx/url.h>
#include <wx/filepicker.h>
#include <wx/process.h>
#include <wx/stdpaths.h>
#include <wx/txtstrm.h>
#include <wx/arrstr.h>
#include <wx/dir.h>
#include <wx/listctrl.h>
#include <wx/regex.h>
#include <string>
#include <list>
#include <map>
#include <iostream>
#include <unistd.h>
#include <coopy/Dbg.h>
#include <coopy/Options.h>
#include "MergeFrame.h"
#include "icon/appicon.xpm"
#include "WideSheetManager.h"

Go to the source code of this file.

Defines

#define static   const
#define SITE_NAME   "share.find.coop"
#define SITE_NAME_CREATE   "http://share.find.coop/repo/new"

Functions

static bool verb ()
static wxString conv_c (const char *s)
static wxString conv (const std::string &s)
static std::string conv (const wxString &s)
static void show (const wxString &view)
static void show (const std::string &view)
 IMPLEMENT_APP (CoopyApp)

Variables

static const wxCmdLineEntryDesc g_cmdLineDesc []

Define Documentation

#define SITE_NAME   "share.find.coop"

Definition at line 57 of file coopy.cpp.

#define SITE_NAME_CREATE   "http://share.find.coop/repo/new"

Definition at line 58 of file coopy.cpp.

#define static   const

Definition at line 53 of file coopy.cpp.


Function Documentation

static wxString conv ( const std::string &  s) [static]

Definition at line 71 of file coopy.cpp.

Referenced by MergeFrame::OnMerge(), MergeFrame::SetMode(), and show().

static std::string conv ( const wxString &  s) [static]

Definition at line 75 of file coopy.cpp.

static wxString conv_c ( const char *  s) [static]

Definition at line 67 of file coopy.cpp.

IMPLEMENT_APP ( CoopyApp  )
static void show ( const wxString &  view) [static]

Definition at line 80 of file coopy.cpp.

Referenced by MergeFrame::OnMerge(), show(), and coopy::cmp::SheetPatcher::updateSheet().

static void show ( const std::string &  view) [static]

Definition at line 89 of file coopy.cpp.

References conv(), and show().

static bool verb ( ) [static]

Definition at line 50 of file coopy.cpp.

References coopy_is_verbose().


Variable Documentation

const wxCmdLineEntryDesc g_cmdLineDesc[] [static]
Initial value:
 {
    { wxCMD_LINE_SWITCH, wxT("h"), wxT("help"), wxT("displays help on the command line parameters") },
    { wxCMD_LINE_SWITCH, wxT("H"), wxT("help-dox"), wxT("prepare doxygen help") },
    
    { wxCMD_LINE_SWITCH, wxT("g"), wxT("gui"), wxT("force show GUI") },
    { wxCMD_LINE_SWITCH, wxT("n"), wxT("new"), wxT("new repository") },
    { wxCMD_LINE_OPTION, wxT("c"), wxT("clone"), wxT("clone repository"),
      wxCMD_LINE_VAL_STRING, 0  },
    { wxCMD_LINE_SWITCH, wxT("v"), wxT("verbose"), wxT("show debug information") },
    { wxCMD_LINE_SWITCH, wxT("l"), wxT("silent"), wxT("keep it quiet") },
    
    
    { wxCMD_LINE_SWITCH, wxT("p"), wxT("pull"), wxT("pull in data") },
    { wxCMD_LINE_SWITCH, wxT("s"), wxT("push"), wxT("push out data") },
    { wxCMD_LINE_OPTION, wxT("k"), wxT("key"), wxT("key for adding/export"),
      wxCMD_LINE_VAL_STRING, 0  },
    { wxCMD_LINE_OPTION, wxT("r"), wxT("repo"), wxT("repository link"),
      wxCMD_LINE_VAL_STRING, 0  },
    { wxCMD_LINE_OPTION, wxT("a"), wxT("add"), wxT("add a spreadsheet/database"),
      wxCMD_LINE_VAL_STRING, 0  },
    { wxCMD_LINE_OPTION, wxT("e"), wxT("export"), wxT("export a spreadsheet/database"),
      wxCMD_LINE_VAL_STRING, 0,
    },
    { wxCMD_LINE_OPTION, wxT("m"), wxT("message"), wxT("message for log"),
      wxCMD_LINE_VAL_STRING, 0  },
    { wxCMD_LINE_PARAM, NULL, NULL, wxT("input file"), wxCMD_LINE_VAL_STRING,
      wxCMD_LINE_PARAM_OPTIONAL },
    { wxCMD_LINE_SWITCH, wxT("d"), wxT("delay"), wxT("add fossil delay") },
    { wxCMD_LINE_NONE },
}

Definition at line 151 of file coopy.cpp.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines