* fix gcc4 build of translator add-on tests

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30583 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2009-05-02 19:01:32 +00:00
parent bd3cb5f1b0
commit 5b3152c4fb
6 changed files with 63 additions and 52 deletions

View File

@ -1,6 +1,7 @@
// TranslatorTestAddOn.cpp // TranslatorTestAddOn.cpp
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <Translator.h> #include <Translator.h>
#include <OS.h> #include <OS.h>
#include "TranslatorTestAddOn.h" #include "TranslatorTestAddOn.h"

View File

@ -9,7 +9,9 @@
#define BBT_MIME_STRING "image/x-be-bitmap" #define BBT_MIME_STRING "image/x-be-bitmap"
#define BMP_MIME_STRING "image/x-bmp" #define BMP_MIME_STRING "image/x-bmp"
class CppUnit::Test; namespace CppUnit {
class Test;
}
class BMPTranslatorTest : public BTestCase { class BMPTranslatorTest : public BTestCase {
public: public:

View File

@ -9,7 +9,9 @@
#define BBT_MIME_STRING "image/x-be-bitmap" #define BBT_MIME_STRING "image/x-be-bitmap"
#define PNG_MIME_STRING "image/png" #define PNG_MIME_STRING "image/png"
class CppUnit::Test; namespace CppUnit {
class Test;
}
class PNGTranslatorTest : public BTestCase { class PNGTranslatorTest : public BTestCase {
public: public:

View File

@ -9,7 +9,9 @@
#define TEXT_MIME_STRING "text/plain" #define TEXT_MIME_STRING "text/plain"
#define STXT_MIME_STRING "text/x-vnd.Be-stxt" #define STXT_MIME_STRING "text/x-vnd.Be-stxt"
class CppUnit::Test; namespace CppUnit {
class Test;
}
class STXTTranslatorTest : public BTestCase { class STXTTranslatorTest : public BTestCase {
public: public:

View File

@ -9,7 +9,9 @@
#define BBT_MIME_STRING "image/x-be-bitmap" #define BBT_MIME_STRING "image/x-be-bitmap"
#define TGA_MIME_STRING "image/x-targa" #define TGA_MIME_STRING "image/x-targa"
class CppUnit::Test; namespace CppUnit {
class Test;
}
class TGATranslatorTest : public BTestCase { class TGATranslatorTest : public BTestCase {
public: public:

View File

@ -9,7 +9,9 @@
#define BBT_MIME_STRING "image/x-be-bitmap" #define BBT_MIME_STRING "image/x-be-bitmap"
#define TIFF_MIME_STRING "image/tiff" #define TIFF_MIME_STRING "image/tiff"
class CppUnit::Test; namespace CppUnit {
class Test;
}
class TIFFTranslatorTest : public BTestCase { class TIFFTranslatorTest : public BTestCase {
public: public: