1 // ControlAppLauncher.cpp 2 // e.moon 17jun99 3 4 #include "ControlAppLauncher.h" 5 6 // -------------------------------------------------------- // 7 // ctor/dtor 8 // -------------------------------------------------------- // 9 10 ControlAppLauncher::~ControlAppLauncher() { 11 if(launched()) 12 quit(); 13 } 14 15 ControlAppLauncher::ControlAppLauncher( 16 media_node_id mediaNode, 17 bool launchNow) : 18 19 m_mediaNode(mediaNode), 20 m_error(B_OK) { 21 22 if(launchNow) 23 m_error = launch(); 24 } 25 26 // -------------------------------------------------------- // 27 // operations 28 // -------------------------------------------------------- // 29 30 status_t ControlAppLauncher::launch(); //nyi 31 32 // -------------------------------------------------------- // 33 // guts 34 // -------------------------------------------------------- // 35 36 void ControlAppLauncher::quit(); 37 38 39 // END -- ControlAppLauncher.cpp --