Update of /cvsroot/compbench/CompBenchmarks++/Benchmark
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17955
Modified Files:
Package.h
Log Message:
Improvements for CBMPackage and new related API usage. hasPatch() is now public.
Index: Package.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/Benchmark/Package.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Package.h 15 Jan 2007 17:52:11 -0000 1.5
--- Package.h 15 Jan 2007 20:42:20 -0000 1.6
***************
*** 91,102 ****
virtual int extract(int _force = 0) = 0;
- /** Indicates if the package needs patching
- * Must be overloaded if so. Returns 0 by default.
- * \return 0 by default, 1 if patch is needed.
- * \sa patch()
- * \sa Patch()
- */
- virtual int hasPatch(void);
-
/** Method to patch package
* Must be overloaded to patch package.
--- 91,94 ----
***************
*** 164,167 ****
--- 156,167 ----
CBMCompilerOptions *_currentOptions);
public:
+ /** Indicates if the package needs patching
+ * Must be overloaded if so. Returns 0 by default.
+ * \return 0 by default, 1 if patch is needed.
+ * \sa patch()
+ * \sa Patch()
+ */
+ virtual int hasPatch(void);
+
/** Remove context.
* \sa storeContext()
|