]> Shamusworld >> Repos - architektonas/blobdiff - src/base/filterinterface.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / filterinterface.cpp
index 4b7a09151c1ba28693074ccd993205c94c441b28..3259794a437cc78efab2ad4700abf60b9239a804 100644 (file)
 /**
  * Constructor.
  */
-RS_FilterInterface::RS_FilterInterface()
+FilterInterface::FilterInterface()
 {
-       //std::cout << "RS_FilterInterface\n";
+       //std::cout << "FilterInterface\n";
        //graphic = NULL;
 }
 
 /**
  * Destructor.
  */
-/*virtual*/ RS_FilterInterface::~RS_FilterInterface()
+/*virtual*/ FilterInterface::~FilterInterface()
 {
 }
 
@@ -40,7 +40,7 @@ RS_FilterInterface::RS_FilterInterface()
  * @retval true if the filter can import the file type
  * @retval false otherwise.
  */
-/*virtual*/ bool RS_FilterInterface::canImport(RS2::FormatType t)
+/*virtual*/ bool FilterInterface::canImport(RS2::FormatType t)
 {
 //     return !(importFormats.find(t) == importFormats.end());
        return (importFormats.indexOf(t) != -1);
@@ -52,7 +52,7 @@ RS_FilterInterface::RS_FilterInterface()
  * @return true if the filter can export the file type,
  *         false otherwise.
  */
-/*virtual*/ bool RS_FilterInterface::canExport(RS2::FormatType t)
+/*virtual*/ bool FilterInterface::canExport(RS2::FormatType t)
 {
 //     return !(exportFormats.find(t) == exportFormats.end());
        return (exportFormats.indexOf(t) != -1);
@@ -61,17 +61,17 @@ RS_FilterInterface::RS_FilterInterface()
 /**
  * Adds a file extension which can be imported by this filter.
  */
-void RS_FilterInterface::addImportFormat(RS2::FormatType type)
+void FilterInterface::addImportFormat(RS2::FormatType type)
 {
-       RS_DEBUG->print("Filter can import %d", (int)type);
+       DEBUG->print("Filter can import %d", (int)type);
        importFormats += type;
 }
 
 /**
  * Adds a file extension which can be exported by this filter.
  */
-void RS_FilterInterface::addExportFormat(RS2::FormatType type)
+void FilterInterface::addExportFormat(RS2::FormatType type)
 {
-       RS_DEBUG->print("Filter can export %d", (int)type);
+       DEBUG->print("Filter can export %d", (int)type);
        exportFormats += type;
 }