本文整理汇总了C++中ekiga::KickStart类的典型用法代码示例。如果您正苦于以下问题:C++ KickStart类的具体用法?C++ KickStart怎么用?C++ KickStart使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了KickStart类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: spark
void
opal_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new OPALSpark);
kickstart.add_spark (spark);
}
开发者ID:Pobegunchik,项目名称:ekiga,代码行数:6,代码来源:opal-main.cpp
示例2: spark
extern "C" void
ekiga_plugin_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new XCAPSpark);
kickstart.add_spark (spark);
}
开发者ID:Klom,项目名称:ekiga,代码行数:6,代码来源:xcap-main.cpp
示例3: notification_core
void
engine_init (Ekiga::ServiceCorePtr service_core,
int argc,
char *argv [])
{
// FIRST we add a few things by hand
// (for speed and because that's less code)
Ekiga::ServicePtr notification_core(new Ekiga::NotificationCore);
service_core->add (notification_core);
boost::shared_ptr<Ekiga::AccountCore> account_core (new Ekiga::AccountCore);
boost::shared_ptr<Ekiga::ContactCore> contact_core (new Ekiga::ContactCore);
boost::shared_ptr<Ekiga::CallCore> call_core (new Ekiga::CallCore);
boost::shared_ptr<Ekiga::ChatCore> chat_core (new Ekiga::ChatCore);
boost::shared_ptr<Ekiga::VideoOutputCore> videooutput_core (new Ekiga::VideoOutputCore);
boost::shared_ptr<Ekiga::VideoInputCore> videoinput_core (new Ekiga::VideoInputCore (*service_core, videooutput_core));
boost::shared_ptr<Ekiga::AudioOutputCore> audiooutput_core (new Ekiga::AudioOutputCore (*service_core));
boost::shared_ptr<Ekiga::AudioInputCore> audioinput_core (new Ekiga::AudioInputCore(*service_core));
boost::shared_ptr<Ekiga::HalCore> hal_core (new Ekiga::HalCore);
boost::shared_ptr<Ekiga::FriendOrFoe> friend_or_foe (new Ekiga::FriendOrFoe);
boost::shared_ptr<Gmconf::PersonalDetails> details(new Gmconf::PersonalDetails);
boost::shared_ptr<Ekiga::PresenceCore> presence_core(new Ekiga::PresenceCore (details));
service_core->add (contact_core);
service_core->add (chat_core);
service_core->add (friend_or_foe);
service_core->add (videoinput_core);
service_core->add (videooutput_core);
service_core->add (audioinput_core);
service_core->add (audiooutput_core);
service_core->add (hal_core);
service_core->add (call_core);
service_core->add (account_core);
service_core->add (details);
service_core->add (presence_core);
if (!videoinput_mlogo_init (*service_core, &argc, &argv)) {
return;
}
if (!videooutput_clutter_gst_init (*service_core, &argc, &argv)) {
return;
}
// THEN we use the kickstart scheme
Ekiga::KickStart kickstart;
audioinput_null_init (kickstart);
audiooutput_null_init (kickstart);
videoinput_ptlib_init (kickstart);
audioinput_ptlib_init (kickstart);
audiooutput_ptlib_init (kickstart);
#ifdef HAVE_GUDEV
hal_gudev_init (kickstart);
#endif
#ifdef HAVE_DBUS
hal_dbus_init (kickstart);
#endif
opal_init (kickstart);
history_init (kickstart);
local_roster_init (kickstart);
local_roster_bridge_init (kickstart);
plugin_init (kickstart);
// FIXME: Some parts in the kickstart need the gui. The gui needs
// some parts in the kickstart. So we will kick a first time to
// get things not needing the gui up and running, then start the
// gui (which will hence find what it needs) and kick a second time
// to really make the engine go vroom. It would be nicer to either
// push the parts needed by the gui in the hand-crafted part of
// this initialization, or put the gui in the kickstart too.
kickstart.kick (*service_core, &argc, &argv);
// FIXME: can't we have a single function for the whole gui?
gtk_core_init (*service_core, &argc, &argv);
if (!gtk_frontend_init (*service_core, &argc, &argv)) {
return;
}
kickstart.kick (*service_core, &argc, &argv);
/* FIXME: everything that follows except the debug output shouldn't
be there, as that means we're doing the work of initializing
those in the correct order here instead of having the specific
code in question to do it itself
*/
//.........这里部分代码省略.........
开发者ID:UIKit0,项目名称:ekiga,代码行数:101,代码来源:engine.cpp
示例4: spark
void
videoinput_ptlib_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new PTLIBVIDEOINPUTSpark);
kickstart.add_spark (spark);
}
开发者ID:Klom,项目名称:ekiga,代码行数:6,代码来源:videoinput-main-ptlib.cpp
示例5: spark
void
audioinput_null_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new NULLAUDIOINPUTSpark);
kickstart.add_spark (spark);
}
开发者ID:GNOME,项目名称:ekiga,代码行数:6,代码来源:audioinput-main-null.cpp
示例6: spark
void
opal_init (Ekiga::KickStart& kickstart)
{
gmref_ptr<Ekiga::Spark> spark(new OPALSpark);
kickstart.add_spark (spark);
}
开发者ID:NeoWing,项目名称:ekiga-3.2.7,代码行数:6,代码来源:opal-main.cpp
示例7: spark
void
hal_dbus_init (Ekiga::KickStart& kickstart)
{
gmref_ptr<Ekiga::Spark> spark(new HALDBUSSpark);
kickstart.add_spark (spark);
}
开发者ID:NeoWing,项目名称:ekiga-3.2.7,代码行数:6,代码来源:hal-main-dbus.cpp
示例8: spark
void
local_roster_bridge_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new LOCALROSTERBRIDGESpark);
kickstart.add_spark (spark);
}
开发者ID:Klom,项目名称:ekiga,代码行数:6,代码来源:local-roster-bridge.cpp
示例9: spark
void
audiooutput_ptlib_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new PTLIBAUDIOOUTPUTSpark);
kickstart.add_spark (spark);
}
开发者ID:Klom,项目名称:ekiga,代码行数:6,代码来源:audiooutput-main-ptlib.cpp
示例10: spark
void
history_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new HISTORYSpark);
kickstart.add_spark (spark);
}
开发者ID:Klom,项目名称:ekiga,代码行数:6,代码来源:history-main.cpp
示例11: spark
void
hal_gudev_init (Ekiga::KickStart& kickstart)
{
boost::shared_ptr<Ekiga::Spark> spark(new GUDevSpark);
kickstart.add_spark (spark);
}
开发者ID:GNOME,项目名称:ekiga,代码行数:6,代码来源:hal-gudev-main.cpp
示例12: spark
void
history_init (Ekiga::KickStart& kickstart)
{
gmref_ptr<Ekiga::Spark> spark(new HISTORYSpark);
kickstart.add_spark (spark);
}
开发者ID:NeoWing,项目名称:ekiga-3.2.7,代码行数:6,代码来源:history-main.cpp
注:本文中的ekiga::KickStart类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论