/**
* 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()
{
}
* @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);
* @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);
/**
* 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;
}