Example #1
0
void CMyLEDAgendaNotifierSubject::UpdateL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage)
	{
	RDebug::Print(_L("Plugin: LED Agenda notifier updated (asynch. call) \n"));
	UpdateL(aBuffer);
	TRAPD(err,aMessage.WriteL(aReplySlot,KUpdateAgendaLEDResponseAsync));
	__ASSERT_ALWAYS(!err,User::Panic(_L("WriteL(aReplySlot,KUpdateAgendaLEDResponseAsync)"),err));
	}
Example #2
0
void CMyLEDPhoneNotifierSubject::UpdateL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage)
	{
	RDebug::Print(_L("Plugin: LED Phone notifier updated (asynch. call) \n"));
	UpdateL(aBuffer);
	TRAPD(err,aMessage.WriteL(aReplySlot,KUpdatePhoneLEDResponseAsync));
	__ASSERT_ALWAYS(!err,User::Panic(_L("WriteL(aReplySlot,KUpdatePhoneLEDResponseAsync)"),err));
	aMessage.Complete(EEikNotExtRequestCompleted);
	}
Example #3
0
void CMyLEDAgendaNotifierSubject::StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage)
	{
	RDebug::Print(_L("Plugin: LED Agenda notifier started (asynch. call) \n"));
	StartL(aBuffer);
	TRAPD(err,aMessage.WriteL(aReplySlot,KStartAgendaLEDResponse));
	__ASSERT_ALWAYS(!err,User::Panic(_L("WriteL(aReplySlot,KStartAgendaLEDResponse)"),err));
//	aMessage.Complete(EEikNotExtRequestCompleted);
	}
TInt CIPSecDialogNotifier::EnterImportPwdL( const TDesC8& aBuffer, TInt aReturnValue, const RMessagePtr2& aMessage )
	{
	TIPSecDialogOutput newImportPwd; 
	newImportPwd.iOutBuf.Copy(KTestPassword);
	TPckgBuf<TIPSecDialogOutput> buf(newImportPwd);
	aMessage.WriteL( aReturnValue, buf );
	(void)aBuffer;
	return KErrNone;
	}
Example #5
0
void CMyLEDPhoneNotifierSubject::StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage)
	{
	RDebug::Print(_L("Plugin: Phone notifier started \n"));
	TPtrC8 boolDes(_L8("LED Channel: PhoneAsynch"));
	TRAPD(err,aMessage.WriteL(aReplySlot,boolDes));
	__ASSERT_ALWAYS(!err,User::Panic(_L("WriteL(aReplySlot,boolDes)"),err));
	StartL(aBuffer);
	aMessage.Complete(EEikNotExtRequestCompleted); //don't have to complete straight away
	}
void CIconSizeNotifier::StartL(const TDesC8& /*aBuffer*/, TInt aReplySlot, const RMessagePtr2& aMessage)
{
    TPckgBuf<TIconSizes> res(IconSizeUtils::GetIconSizes());
    aMessage.WriteL(aReplySlot, res);
    aMessage.Complete(KErrNone);
}