diff options
Diffstat (limited to 'tools/aapt/SourcePos.h')
-rw-r--r-- | tools/aapt/SourcePos.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/aapt/SourcePos.h b/tools/aapt/SourcePos.h deleted file mode 100644 index 33f72a9..0000000 --- a/tools/aapt/SourcePos.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef SOURCEPOS_H -#define SOURCEPOS_H - -#include <utils/String8.h> -#include <stdio.h> - -using namespace android; - -class SourcePos -{ -public: - String8 file; - int line; - - SourcePos(const String8& f, int l); - SourcePos(const SourcePos& that); - SourcePos(); - ~SourcePos(); - - int error(const char* fmt, ...) const; - int warning(const char* fmt, ...) const; - - static bool hasErrors(); - static void printErrors(FILE* to); -}; - - -#endif // SOURCEPOS_H |