Changeset 11998 for trunk/gsdl/src/recpt/collectoraction.h
- Timestamp:
- 2006-07-04T15:23:58+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/collectoraction.h
r7371 r11998 30 30 #define COLLECTORACTION_H 31 31 32 #include " action.h"32 #include "wizardaction.h" 33 33 #include "receptionist.h" 34 34 35 class collectoraction : public action {35 class collectoraction : public wizardaction { 36 36 37 37 protected: 38 39 bool disabled;40 receptionist *recpt;41 char *gsdlosc;42 char *gsdlhomec;43 char *pathc;44 45 text_t message;46 char failcode;47 38 48 39 bool do_mkcol; … … 51 42 text_tmap failedsources; 52 43 53 text_t get_button (const text_t &thispage, const text_t &color,54 const text_t &type, bool enabled);44 void set_fullnamemenu (displayclass &disp, cgiargsclass &args, 45 recptprotolistclass *protos, ostream &logout); 55 46 56 void set_fullnamemenu (displayclass &disp, cgiargsclass &args,57 recptprotolistclass *protos, ostream &logout);58 47 59 48 void set_inputsourceboxes (displayclass &disp, cgiargsclass &args, … … 65 54 void set_cfgfile (displayclass &disp, cgiargsclass &args, ostream &logout); 66 55 67 void set_statusline (displayclass &disp, cgiargsclass &args, ostream &logout);68 56 69 57 void update_cfgfile_clone (cgiargsclass &args, ostream &logout); … … 73 61 void update_cfgfile_complete (cgiargsclass &args, ostream &logout); 74 62 75 text_t carriage_replace (const text_t &intext, int sw);76 77 text_t get_directory_name (const text_t &fullname);78 79 bool collection_protected (const text_t &collection);80 81 bool assign_tmpname (cgiargsclass &args, ostream &logout);82 63 83 64 void gsdl_mkcol (cgiargsclass &args, ostream &logout); 84 65 85 void gsdl_build (cgiargsclass &args, ostream &logout);86 66 87 void gsdl_cancel_build (cgiargsclass &args, ostream &logout);88 89 text_t get_collectdir (cgiargsclass &args);90 91 bool uses_weird_plugin (const text_t &collection);92 93 void create_colserver (const text_t &collection, ostream &logout);94 95 void remove_colservr (const text_t &collection, ostream &logout);96 97 bool create_event_header_file (const text_t &filename, cgiargsclass &args,98 ostream &logout);99 100 text_t get_event_header (cgiargsclass &args);101 67 102 68 bool check_sources (cgiargsclass &args, ostream &logout); 103 69 104 text_t format_url (const text_t &url); 70 text_t get_button (cgiargsclass &args, const text_t &thispage, 71 const text_t &color, 72 const text_t &type, bool enabled); 105 73 106 text_t remove_trailing_slashes (text_t str);107 74 108 75 public: … … 110 77 virtual ~collectoraction (); 111 78 112 void configure (const text_t &key, const text_tarray &cfgline);113 114 bool init (ostream &logout);115 116 void set_receptionist (receptionist *therecpt) {recpt=therecpt;}117 118 79 text_t get_action_name () {return "collector";} 119 80 120 81 bool check_cgiargs (cgiargsinfoclass &argsinfo, cgiargsclass &args, 121 82 recptprotolistclass *protos, ostream &logout); 122 123 void get_cgihead_info (cgiargsclass &args, recptprotolistclass *protos,124 response_t &response,text_t &response_data,125 ostream &logout);126 83 127 84 void define_internal_macros (displayclass &disp, cgiargsclass &args, … … 132 89 outconvertclass &outconvert, ostream &textout, 133 90 ostream &logout); 91 134 92 }; 135 93
Note:
See TracChangeset
for help on using the changeset viewer.