[haiku-development] Caya Replicant is not working on gcc2 based builds (BRemoteView !?)

  • From: Barrett <barrett666@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 28 Feb 2012 16:29:47 +0100

Hello, recently i have created a Deskbar replicant for Caya, the problem is
that it require a gcc4 build to add the replicant correctly and show it in
the Deskbar, so it can't work on Alpha releases. This is because Caya is
built with gcc4 and the deskbar with gcc2.

One of the solutions that come in mind to me is to separate the replicant
code into a stand-alone addon compiled with gcc2 and then run it in a
similar way as the actual Deskbar Applets included in Haiku. But this
sounds like an hack and i don't like this way.

The second solution come up with a yourpalal's suggestion about something
like the android's RemoteView,

http://developer.android.com/reference/android/widget/RemoteViews.html

it is basically a view that allow to show drawing operations across
different processes.

Unfortunately i don't have enough know-how to judge if a BRemoteView is
feasible, or if the app_server can allow something like that....

What do you think about that idea? In large lines please can anyone tell me
the basics steps or the main obstacles to allow it in the app_server?

Additionally, other solutions are welcomed : )

Regards

Other related posts: