From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] phonesim: simulate language notification in sim app
Date: Wed, 15 Sep 2010 13:54:01 -0500 [thread overview]
Message-ID: <4C911649.6070505@gmail.com> (raw)
In-Reply-To: <1284503275-21395-1-git-send-email-jeevaka.badrappan@elektrobit.com>
[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]
Hi Jeevaka,
On 09/14/2010 05:27 PM, Jeevaka Badrappan wrote:
> ---
> src/qsimcommand.cpp | 11 ++++++++
> src/simapplication.cpp | 68 ++++++++++++++++++++++++++++++++++++++++++++++++
> src/simapplication.h | 2 +
> 3 files changed, 81 insertions(+), 0 deletions(-)
>
> diff --git a/src/qsimcommand.cpp b/src/qsimcommand.cpp
> index 9a9a169..9746592 100644
> --- a/src/qsimcommand.cpp
> +++ b/src/qsimcommand.cpp
> @@ -3280,6 +3280,17 @@ QByteArray QSimCommand::toPdu( QSimCommand::ToPduOptions options ) const
> }
> break;
>
> + case LanguageNotification:
> + {
> + if ( qualifier & 0x01 ) {
> + data += (char)0xAD;
> + data += (char)0x02;
> + data += (char)0x73;
> + data += (char)0x65;
> + }
> + }
> + break;
> +
I'd really prefer that this wasn't completely hard-coded. Can we make
an enum of some sort, or even use a QString (null means no language
object included)
Regards,
-Denis
next prev parent reply other threads:[~2010-09-15 18:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 22:27 [PATCH] phonesim: simulate language notification in sim app Jeevaka Badrappan
2010-09-15 18:54 ` Denis Kenzior [this message]
2010-09-16 18:39 ` Jeevaka Badrappan
2010-09-16 19:41 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C911649.6070505@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox