]> git.tdb.fi Git - builder.git/blobdiff - source/objcsourcefile.h
Add target and tools for compiling Objective-C sources
[builder.git] / source / objcsourcefile.h
diff --git a/source/objcsourcefile.h b/source/objcsourcefile.h
new file mode 100644 (file)
index 0000000..2069615
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef OBJCSOURCEFILE_H_
+#define OBJCSOURCEFILE_H_
+
+#include "csourcefile.h"
+
+/**
+Represents an Objective-C source file.
+*/
+class ObjCSourceFile: public CSourceFile
+{
+public:
+       ObjCSourceFile(Builder &, const Msp::FS::Path &);
+       ObjCSourceFile(Builder &, const Component &, const Msp::FS::Path &);
+
+       virtual const char *get_type() const { return "ObjCSourceFile"; }
+
+protected:
+       virtual void parse_includes(Msp::IO::Base &);
+};
+
+#endif