Compartilhar via


IVoIPState and CVoIPState (Windows CE 5.0)

Send Feedback

Each IVoIPState instance defines how the user interface looks — the contents of the list box provided by the CVoIPMainDialog class, the text displayed in the status and title bars — and what happens when the user interacts with the application using context buttons, keypad buttons, and so on.

Generally there is a single IVoIPState implementation for each screen in the application.

One example of an IVoIPState implementation is CCallForwardingState, in %_WINCEROOT%\Public\VoIP\OAK\Phone\TUI\State\ForwardingState.cpp (and ForwardingState.h). This state

  • Populates the list box with numbers you've forwarded in the past.
  • Adds explanatory status and title text.
  • Asks the CVoIPDesktopManager class to create context buttons on the bottom of the screen relevant to forwarding calls.

The CVoIPState class is a generic parent class that provides common functionality for IVoIPState implementations. Specific implementations inherit from this class and define their own user experience.

The %_WINCEROOT%\Public\VoIP\OAK\Phone\TUI\State directory contains the IVoIPState and CVoIPState implementations (in VoIPState.cpp and VoIPState.h) and specific IVoIPState implementations. The specific implementations generally include a header and source file for each screen.

See Also

TUI UI Object Model

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.