Commit 56298766 authored by springob's avatar springob
Browse files

* MSW/OSX versions

git-svn-id: https://svn.code.sf.net/p/robodude/code/bobdude@39 bbe26285-3967-4f0a-9db1-5cc42c1bf15a
parent 07bf18b0
......@@ -5,24 +5,29 @@
<key>CFBundleName</key> <string>BobDude</string>
<key>CFBundleDisplayName</key> <string>BobDude</string>
<key>CFBundleIdentifier</key> <string>org.bob3.bobdude</string>
<key>CFBundleVersion</key> <string>1.2.0</string>
<key>CFBundleVersion</key> <string>1.2.0.1</string>
<key>CFBundlePackageType</key> <string>APPL</string>
<key>CFBundleSignature</key> <string>????</string>
<key>CFBundleExecutable</key> <string>BobDude</string>
<key>CSResourcesFileMapped</key> <true/>
<key>CFBundleShortVersionString</key> <string>1.2.0</string>
<!--key>CFBundleIconFile</key> <string>your_app_icon.icns</string-->
<!--key>CFBundleIconFile</key> <string>your_app_icon.icns</string-->
<key>CFBundleDocumentTypes</key> <array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>bob3</string>
</array>
<!--key>CFBundleTypeIconFile</key> <string>icon_for_your_documents.icns</string-->
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/bob3</string>
</array>
<!--key>CFBundleTypeIconFile</key> <string>icon_for_your_documents.icns</string-->
<key>CFBundleTypeName</key> <string>BOB3 hex file</string>
<key>CFBundleTypeRole</key> <string>Editor</string>
<key>LSIsAppleDefaultForType</key> <true/>
<key>LSTypeIsPackage</key> <false/>
<key>LSHandlerRank</key> <string>Owner</string>
</dict>
</array>
</dict>
......
......@@ -98,6 +98,11 @@ bool BobDudeApp::OnCmdLineParsed(wxCmdLineParser& parser) {
return true;
}
void BobDudeApp::MacOpenFile(const wxString &fileName) {
frame->loadFile(fileName);
}
bool CConnection::OnExec(const wxString& topic, const wxString& data) {
if (topic.compare("restart") == 0) {
frame->Show(true);
......
......@@ -46,6 +46,7 @@ class BobDudeApp : public wxApp {
wxString conf;
wxArrayString files;
Avrdude * avrdude;
virtual void MacOpenFile(const wxString &fileName);
};
static const wxCmdLineEntryDesc g_cmdLineDesc [] = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment