35 |
|
|
36 |
#create implementation file |
#create implementation file |
37 |
echo "#include \"$HEADER\"" > $CPP |
echo "#include \"$HEADER\"" > $CPP |
38 |
echo -e "#include \"GsmModem.h\"\n" >> $CPP |
echo -e "#include \"IGsmModem.h\"" >> $CPP |
39 |
|
echo -e "#include \"Sms.h\"\n" >> $CPP |
40 |
|
|
41 |
echo "$CLASS::$CLASS()" >> $CPP |
echo "$CLASS::$CLASS()" >> $CPP |
42 |
echo " : Plugin(\"$CLASSLO\", \"<insert description>\")" >> $CPP |
echo " : Plugin(\"$CLASSLO\", \"<insert description>\")" >> $CPP |
47 |
echo "{" >> $CPP |
echo "{" >> $CPP |
48 |
echo -e "\t//Add Implementation" >> $CPP |
echo -e "\t//Add Implementation" >> $CPP |
49 |
echo "}" >> $CPP |
echo "}" >> $CPP |
50 |
|
|
51 |
|
echo "" |
52 |
|
echo "Created $HEADER and $CPP" |
53 |
|
echo "Remember to:" |
54 |
|
echo " - Add an implementation in the $CLASS::Execute() method" |
55 |
|
echo " - Add $CPP to CMakeLists.txt" |
56 |
|
echo " - Add $HEADER and $CPP to source control" |
57 |
|
echo " - Add an instance of $CLASS to PluginManager::LoadPlugins()" |