Changeset 2016


Ignore:
Timestamp:
2001-02-20T13:30:06+13:00 (23 years ago)
Author:
paynter
Message:

Removed a bunch of code that served no prupose, and added a little
documentation explaining where all the functionality went.

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/phindbrowserclass.cpp

    r1804 r2016  
    4141}
    4242
    43 // display a document
    44 void phindbrowserclass::processOID (cgiargsclass &args, recptproto *collectproto,
    45                    ostream &logout) {
    4643
    47   // should only reach here from within a classification
    48   if (!args["d"].empty()) return;
    49   if (args["cl"].empty()) return;
    5044
    51   FilterRequest_t request;
    52   FilterResponse_t response;
    53   comerror_t err;
    54   request.filterName = "NullFilter";
    55   request.filterResultOptions = FROID;
    56   request.docSet.push_back (args["cl"] + ".fc");
    57   collectproto->filter (args["c"], request, response, err, logout);
    58 
    59   if (err != noError || response.docInfo[0].OID.empty()) return;
    60 }
  • trunk/gsdl/src/recpt/phindbrowserclass.h

    r1643 r2016  
    2626 *********************************************************************/
    2727
     28// The phindbrowserclass is necessary to add a phind classifier to the user
     29// interface and navigation bar, but is basically empty - all the work is
     30// done in documentaction.cpp and in the document.dm macro file.  What
     31// happens is that documentaction.cpp has a section that sets various
     32// macros when the document in question is a phind classifier; thse are in
     33// turn used by the macro file to load the applet into the web page.
    2834
    2935#ifndef PHINDBROWSERCLASS_H
     
    4349  virtual text_t get_browser_name ();
    4450
    45   void processOID (cgiargsclass &args, recptproto *collectproto,
    46            ostream &logout);
    47 
    48 
    4951};
    5052
Note: See TracChangeset for help on using the changeset viewer.