[Ekiga-devel-list] [PATCH]Ekigas svn /opal cvs heads, minor API changes



still no linking...

lopal -ldl -lpthread /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm
/usr/lib/libopal.so: undefined reference to `PPipeChannel::PPipeChannel()'
/usr/lib/libopal.so: undefined reference to `PPipeChannel::Execute()'
/usr/lib/libopal.so: undefined reference to `PPipeChannel::Close()'
/usr/lib/libopal.so: undefined reference to `PPipeChannel::IsRunning() const'
/usr/lib/libopal.so: undefined reference to `PPipeChannel::Open(PString const&, PPipeChannel::OpenMode, int, int)'
/usr/lib/libopal.so: undefined reference to `PPipeChannel::~PPipeChannel()'
collect2: ld returned 1 exit status

--- src/endpoints/pcss.h        2007-04-04 15:06:11.000000000 +0200
+++ src/endpoints/pcss.h        2007-04-04 15:06:39.000000000 +0200
@@ -75,7 +75,7 @@
   *                Display a popup if required.
   * PRE          :  /
   */
-  virtual void OnShowIncoming (const OpalPCSSConnection &connection);
+  virtual BOOL OnShowIncoming (const OpalPCSSConnection &connection);


  /* DESCRIPTION  :  This callback is called when there is an


--- src/endpoints/pcss.cpp      2007-04-04 15:16:44.000000000 +0200
+++ src/endpoints/pcss.cpp      2007-04-04 15:21:43.000000000 +0200
@@ -89,14 +89,14 @@
}


-void GMPCSSEndpoint::OnShowIncoming (const OpalPCSSConnection & connection)
+BOOL GMPCSSEndpoint::OnShowIncoming (const OpalPCSSConnection & connection)
{
  IncomingCallMode icm = AUTO_ANSWER;
  GtkWidget *statusicon = NULL;
  guint interval = 2000;

  if (endpoint.GetCallingState() != GMManager::Called)
-    return;
+    return FALSE;

  statusicon = GnomeMeeting::Process ()->GetStatusicon ();

@@ -113,7 +113,7 @@
  if (icm == AUTO_ANSWER) {

    AcceptCurrentIncomingCall ();
-    return;
+    return FALSE;
  }

  /* The timers */
@@ -122,6 +122,8 @@
  gnomemeeting_threads_enter ();
  gm_statusicon_ring (statusicon, interval);
  gnomemeeting_threads_leave ();
+
+  return TRUE;
}





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]