このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


ericb's place

vendredi, janvier 09, 2009

appleremote02 (part6)

Time for code review, last step for the cws before to be ready for QA.

Philipp Lohmann agreed the changes in vcl ( and thus, the corresponding changes in apple_remote module)

Several problems had to be 直す/買収する,八百長をするd :

* Christian Lippka 示唆するd the use of MEDIA_COMMAND_VOLUME (UP and DOWN ) had to be changed, for other OS than Mac OS S X [直す/買収する,八百長をするd]

* 保護する the popup menu 事例/患者 [直す/買収する,八百長をするd]

* Andre Fischer asked about the eventlistener [部分的に/不公平に 直す/買収する,八百長をするd]: is not 正確に/まさに at the 権利 place, because I 追加する the eventlistener at the end of GetState(SfxItemSet&) method, and this would result in 多重の calls to 使用/適用::AddEventListener(const Link&). The 使用/適用 class 蓄える/店s event listeners in a 名簿(に載せる)/表(にあげる), not in a 始める,決める, and thus, more than one eventlistener may be 登録(する)d for a 選び出す/独身 SdModule 反対する. Fortunaly, when the (one) listener is 除去するd in ~SdModule the 使用/適用::RemoveEventListener(const Link&) 除去するs all listeners (that's what I 立証するd using 漏れるs on Mac)

The possible 解答s :

追加する the listener 直接/まっすぐに in the SdModule Ctor : Does not work (maybe my fault), because this leads to a sort of chicken-egg problem, and after some 実験(する)s, it seems to be unbuildable ( I gve up with that).

Philipp 提案するd a 解答 I 実験(する)d already, based on a singleton pattern [done, 作品 already]

調査/捜査するing on another more 複雑にするd, but elegant 解答 Andre 提案するd. the idea is to create a static Create() method for SdModule, that creates and initializes an SdModule 反対する.
This needs to make the 建設者 私的な (no 味方する 影響s ?) and finally to have SdDLL::Init() calling this new Create() method. Work in 進歩 ...

A big thank you for the code review, and for the time they spend helping me to Andre Fischer,Christian Lippka, Philipp Lohmann and Thorsten Behrens ( kindly answering my questions on the #education.openof fice.org channel)

Libell?s : , , , ,

dimanche, ao?t 17, 2008

Apple Remote in Impress : first try before more serious 実施

Just 支援する from holidays, I 設立する some times to 切り開く/タクシー/不正アクセス the Apple Remote (the 監査役 shipped with Apple machines).

After a week of learning the 広大な/多数の/重要な Pierre Chatelier documentation (客観的な C for C++ developers ), and Aaron Hillegass 調書をとる/予約する " Cocoa Programming for Mac OS X", I finally 設立する how to adapt ツバメ Kahr's code, to make the Apple remote work with OpenOffice.org.

Today, reading Apple documentation, I finally 設立する a simple way to 器具/実施する the basics of the thing. and it 作品 :-)

What you 現在/一般に can do is:

- start a 贈呈
- goto next / previous slide
- goto to last/first slide
- やめる the 贈呈


The Impress window must be in 前線 (the active window). Else, 前線 列/漕ぐ/騒動 menus 作品 as usual.

Some other features are 行方不明の, and I hope to make them work asap.

For the curious, I do 供給する 非公式の builds Intel only ( PowerPC on tuesday), for en-US , fr and de (upload in 進歩). Don't forget to do a backup of your とじ込み/提出するs.

The URL for the download is Laurent Buisson 場所/位置 . Many thanks to him, for 供給するing the ressources.

Last but not least, I 設立する a way to 修正する the menus on the 飛行機で行く, and at build time, e.g; 除去するing the not Aqua HIG compliant extra "やめる" in all the menus. I think this change could be an open door to better Mac OpenOffice.org menus customization.

Of course, this is work in 進歩, and I'm thinking to a more 深い and professionnal 実施, but we need feedback from our 使用者s, to 器具/実施する proprely the thing.

To be continued ...

Libell?s : , < a rel='tag' href="http://www.yansite.net/etoj.cgi?sw=j&URL=http://eric.bachard.free.fr/news/labels/aqua.html">aqua, , ,