Whitespace changes
[MPC.git] / modules / VC6ProjectCreator.pm
blob4a28f228c6911a2148295110f9200504da7f0bba
1 package VC6ProjectCreator;
3 # ************************************************************
4 # Description : A VC6 Project Creator
5 # Author : Chad Elliott
6 # Create Date : 3/14/2002
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use ProjectCreator;
16 use VCProjectBase;
18 use vars qw(@ISA);
19 @ISA = qw(VCProjectBase ProjectCreator);
21 # ************************************************************
22 # Subroutine Section
23 # ************************************************************
25 sub project_file_extension {
26 #my $self = shift;
27 return '.dsp';
31 sub override_valid_component_extensions {
32 my($self, $comp) = @_;
34 ## Visual C++ 6.0 doesn't understand all of the extensions that MPC
35 ## supports.
36 if ($comp eq 'source_files' && $self->languageIs(Creator::cplusplus)) {
37 return ["\\.cpp", "\\.cxx", "\\.c"];
40 return undef;
44 sub override_exclude_component_extensions {
45 my($self, $comp) = @_;
47 ## Visual C++ 6.0 doesn't understand all of the extensions that MPC
48 ## supports.
49 if ($comp eq 'source_files' && $self->languageIs(Creator::cplusplus)) {
50 return ["_T\\.cpp", "_T\\.cxx"];
53 return undef;
57 sub get_dll_exe_template_input_file {
58 #my $self = shift;
59 return 'vc6dspdllexe';
63 sub get_lib_exe_template_input_file {
64 #my $self = shift;
65 return 'vc6dsplibexe';
69 sub get_lib_template_input_file {
70 #my $self = shift;
71 return 'vc6dsplib';
75 sub get_dll_template_input_file {
76 #my $self = shift;
77 return 'vc6dspdll';