OSDN Git Service

2004-04-27 Dave Brolley <brolley@redhat.com>
authorbrolley <brolley>
Thu, 29 Apr 2004 20:28:01 +0000 (20:28 +0000)
committerbrolley <brolley>
Thu, 29 Apr 2004 20:28:01 +0000 (20:28 +0000)
        * commonCfg.h (CacheCfg::compute_comptype): Now virtual.
        (SessionCfg::get_loader): New method.

sid/main/dynamic/ChangeLog
sid/main/dynamic/commonCfg.h

index 96d0bb7..9ef1bca 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-27  Dave Brolley  <brolley@redhat.com>
+
+       * commonCfg.h (CacheCfg::compute_comptype): Now virtual.
+       (SessionCfg::get_loader): New method.
+
 2004-04-01  Dave Brolley  <brolley@redhat.com>
 
        * commonCfg.h (get_size): New method of CacheCfg.
index d97990e..005b6a8 100644 (file)
@@ -63,7 +63,7 @@ public:
   sid::host_int_4 get_size () const { return my_size; }
   sid::host_int_4 get_line_size () const {return my_line_size; }
  protected:
-  void compute_comptype ();
+  virtual void compute_comptype ();
   string my_assoc;
   sid::host_int_4 my_size;
   sid::host_int_4 my_line_size;
@@ -209,6 +209,7 @@ struct SessionCfg :
   void use_tcl_bridge();
   void use_no_stdio ();
   virtual void set_loader (LoaderCfg *l);
+  LoaderCfg *get_loader () const { return loader; }
   AtomicCfg *audio;
   AtomicCfg *tksched;
   AtomicCfg *tksm;