summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm')
-rw-r--r--bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm43
1 files changed, 43 insertions, 0 deletions
diff --git a/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm
new file mode 100644
index 00000000000..56fdb137a35
--- /dev/null
+++ b/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm
@@ -0,0 +1,43 @@
+package EM3WorkspaceCreator;
+
+# ************************************************************
+# Description : An eMbedded v3 Workspace Creator
+# Author : Chad Elliott
+# Create Date : 7/3/2002
+# ************************************************************
+
+# ************************************************************
+# Pragmas
+# ************************************************************
+
+use strict;
+
+use EM3ProjectCreator;
+use VC6WorkspaceCreator;
+
+use vars qw(@ISA);
+@ISA = qw(VC6WorkspaceCreator);
+
+# ************************************************************
+# Subroutine Section
+# ************************************************************
+
+
+sub workspace_file_name {
+ my($self) = shift;
+ return $self->get_workspace_name() . ".vcw";
+}
+
+
+sub pre_workspace {
+ my($self) = shift;
+ my($fh) = shift;
+ my($crlf) = $self->crlf();
+
+ print $fh "Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00$crlf" .
+ "# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!$crlf" .
+ "$crlf";
+}
+
+
+1;