proton:organization
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proton:organization [2010/10/26 06:09] – created seth | proton:organization [2012/02/21 00:03] (current) – seth | ||
---|---|---|---|
Line 5: | Line 5: | ||
install dir | install dir | ||
| | ||
- | | + | |
- | | + | |
your own app (put your stuff here too) | your own app (put your stuff here too) | ||
</ | </ | ||
Line 14: | Line 14: | ||
When editing something in the **" | When editing something in the **" | ||
- | Projects are setup to use relative paths. | + | Projects are setup to use relative paths. |
Each project directory is setup like this: | Each project directory is setup like this: | ||
Line 26: | Line 26: | ||
script (.bat files that do things like make zips and upload to ftp sites, probably not useful to you) | script (.bat files that do things like make zips and upload to ftp sites, probably not useful to you) | ||
windows (MSVC solution/ | windows (MSVC solution/ | ||
+ | OSX (Mac OS X xCode project goes in here) | ||
android (all android related things go here) | android (all android related things go here) | ||
WebOS (Palm WebOS related things go here) | WebOS (Palm WebOS related things go here) | ||
+ | bbx (RIM playbook related things go here) | ||
+ | linux (for linux makefiles, etc) | ||
| | ||
- | In the main app dir there is also some iOS stuff: (Hmm, I should have put it in an iOS dir but meh, this is how the project | + | In the main app dir there is also some iOS stuff: (Hmm, I should have put it in an iOS dir but meh, this is how the framework |
app name.xcodeproj (a file: you open this with xcode) | app name.xcodeproj (a file: you open this with xcode) | ||
Info.plist | Info.plist | ||
Line 39: | Line 42: | ||
All apps have an App.h/ | All apps have an App.h/ | ||
- | Non-app specific code will use GetBaseApp() to access your App object using the BaseApp interface. | + | Non-app specific code will use GetBaseApp() to access your App object using the BaseApp interface. |
- | Files like main.cpp and main.mm are only glue to let Proton work across platforms. | + | Shared files like main.cpp and main.mm are only glue to let Proton work across platforms. |
====Signals and slots==== | ====Signals and slots==== | ||
Line 71: | Line 74: | ||
</ | </ | ||
- | Makes sense (despite that weird bind stuff), right? | + | Makes sense (despite that weird bind stuff), right? |
Or, if you wanted a plain old function to be called when this happens you could do: | Or, if you wanted a plain old function to be called when this happens you could do: | ||
- | < | + | < |
void SomeCrapFunction() | void SomeCrapFunction() | ||
{ | { | ||
Line 85: | Line 88: | ||
That's simpler. | That's simpler. | ||
- | Signals | + | If you're thinking, "so what, it's just a replacement for polling a message pump", you still don't know the powah of the sigslot side < |
+ | |||
+ | * Entities | ||
+ | * MessageManager | ||
+ | * You can have a function called when a Variant variable changes | ||
+ | |||
+ | We'll get into it later, but it will totally rock your programming world. | ||
proton/organization.1288073340.txt.gz · Last modified: 2010/10/26 06:09 (external edit)