Call drawnow() function on continer from AppUi

Login to reply to this topic.
Tue, 2006-02-28 03:03
Joined: 2005-05-19
Forum posts: 45
I have a design question that I can't seem to find an answer for. I have an application with a Document and Model (engine) along with an AppUi and several Views and Containers. The Views are switched using the tab navigation and are based on the multi-view architecture of CAknViewAppUi, CAknView, and CCoeControl. The app works great in that I can switch views using the joystick and switching tabs.

Okay.. so as I mentioned, my document has a model that the AppUi, the View, and the container all have access to. My engine is a basic state machine that uses the telephony functions to either accept or make calls. In the app, I want one of the view/containers to show the status of the engine (i.e. connected, idle, etc.). When the status changes, the AppUi is notified via an observer interface. My problem is how do execute the continers draw function from the AppUi class? If I was just doing a single view app, I could execute view->DrawNow()... but the container is private to the view.

Any help would be appreciated.

Thanks

"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein

  • Login to reply to this topic.