#
7f77e4bd |
|
29-Dec-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Applied patch by Vasilis Kaoutsis: * removed directive #include <cstdlib> removed directive #include <cassert> Removed also the use of assert() as BAlert::Go() returns always 0, or 1, or 2. renamed cstring to string.h and cstdio to stdio.h since our coding style prefers C-style headers. * Merged the two classes to AlertApplication since i see no reason to have them both. * removed some getter functions and used the private data members instead, since this doesn't break the "hide the implementation details rule" (i think). * Modified Signature application from "application/x-vnd.OBOS.cmd-alert" to "application/x-vnd.Haiku.cmd-alert" * Make some defines const char* and int32 according to the corresponding types. * Changed AlertApplication::SetChoice(const int32 but) to AlertApplication::SetChoice(int32 buttonIndex). * The usual coding style clean-up (tabs, spaces, etc). * Added documentation for more readable code here and there; and doxygen style documentation for two functions: AlertApplication::ArgvReceived(int32 argc, char** argv) and AlertApplication::ReadyToRun() * Add myself to the authors' list, since that makes good to my psycology, and makes me more productive! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19655 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7f77e4bd762855abe3b616c6e3d175507d1627e5 |
|
29-Dec-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Applied patch by Vasilis Kaoutsis: * removed directive #include <cstdlib> removed directive #include <cassert> Removed also the use of assert() as BAlert::Go() returns always 0, or 1, or 2. renamed cstring to string.h and cstdio to stdio.h since our coding style prefers C-style headers. * Merged the two classes to AlertApplication since i see no reason to have them both. * removed some getter functions and used the private data members instead, since this doesn't break the "hide the implementation details rule" (i think). * Modified Signature application from "application/x-vnd.OBOS.cmd-alert" to "application/x-vnd.Haiku.cmd-alert" * Make some defines const char* and int32 according to the corresponding types. * Changed AlertApplication::SetChoice(const int32 but) to AlertApplication::SetChoice(int32 buttonIndex). * The usual coding style clean-up (tabs, spaces, etc). * Added documentation for more readable code here and there; and doxygen style documentation for two functions: AlertApplication::ArgvReceived(int32 argc, char** argv) and AlertApplication::ReadyToRun() * Add myself to the authors' list, since that makes good to my psycology, and makes me more productive! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19655 a95241bf-73f2-0310-859d-f6bbb57e9c96
|