using System;
using System.Collections.Generic;
using System.Text;
namespace Tizen.Applications.ComponentBased.Common
{
///
/// The class for showing service module
///
/// 6
public abstract class ServiceComponent : BaseComponent
{
///
/// Overrides this method to handle behavior when the component is created.
///
/// True if a service component is successfully created
public abstract bool OnCreate();
///
/// Overrides this method if want to handle behavior when the component receives the start command message.
///
/// appcontrol object
/// True if it was restarted
/// 6
public virtual void OnStartCommand(AppControl appControl, bool restarted)
{
}
///
/// Overrides this method if want to handle behavior when the component is destroyed.
///
/// 6
public virtual void OnDestroy()
{
}
}
}