smsprotocols/smsstack/gsmu/src/stubs.cpp
changeset 0 3553901f7fa8
child 8 3f227a47ad75
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Implements stub panics for deprecated functions.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20 */
       
    21 
       
    22 #include "Gsmumain.h"
       
    23 
       
    24 #ifndef __EABI__
       
    25 
       
    26 #include "smsstacklog.h"
       
    27 
       
    28 // Was TGsmCompressionSettings::CharacterGroupID(TInt &) const
       
    29 EXPORT_C void PanicStub1()
       
    30     {
       
    31     // Ignore in code coverage - deprecated method
       
    32     BULLSEYE_OFF
       
    33     Panic(KGsmuPanicDeprecatedMethod);
       
    34     BULLSEYE_RESTORE
       
    35     }
       
    36 
       
    37 // Was TGsmCompressionSettings::CharacterSet(TGsmCompressionSettings::TGsmCharacterSet &) const
       
    38 EXPORT_C void PanicStub2()
       
    39     {
       
    40     // Ignore in code coverage - deprecated method
       
    41     BULLSEYE_OFF
       
    42     Panic(KGsmuPanicDeprecatedMethod);
       
    43     BULLSEYE_RESTORE
       
    44     }
       
    45 
       
    46 BULLSEYE_OFF
       
    47 
       
    48 // Was CSmsMessage::CompressionSettings(TGsmCompressionSettings &) const
       
    49 EXPORT_C void PanicStub3()
       
    50     {
       
    51     // Ignore in code coverage - deprecated method
       
    52     Panic(KGsmuPanicDeprecatedMethod);
       
    53     }
       
    54 BULLSEYE_RESTORE
       
    55 
       
    56 // Was CSmsMessage::CompressionSupportedL(RFs &)
       
    57 EXPORT_C void PanicStub4()
       
    58     {
       
    59     // Ignore in code coverage - deprecated method
       
    60     BULLSEYE_OFF
       
    61     Panic(KGsmuPanicDeprecatedMethod);
       
    62     BULLSEYE_RESTORE
       
    63     }
       
    64 
       
    65 // Was CSmsMessage::DecodeMessagePDUsL(CArrayFix<TSms> const &, TInt)
       
    66 EXPORT_C void PanicStub5()
       
    67     {
       
    68     // Ignore in code coverage - deprecated method
       
    69     BULLSEYE_OFF
       
    70     Panic(KGsmuPanicDeprecatedMethod);
       
    71     BULLSEYE_RESTORE
       
    72     }
       
    73 
       
    74 // Was CSmsPDU::EncodeMessagePDUL(TSms &, TInt) const
       
    75 EXPORT_C void PanicStub6()
       
    76     {
       
    77     // Ignore in code coverage - deprecated method
       
    78     BULLSEYE_OFF
       
    79     Panic(KGsmuPanicDeprecatedMethod);
       
    80     BULLSEYE_RESTORE
       
    81     }
       
    82 
       
    83 // Was CSmsMessage::EncodeMessagePDUsL(CArrayFix<TSms> &, TInt, TInt)
       
    84 EXPORT_C void PanicStub7()
       
    85     {
       
    86     // Ignore in code coverage - deprecated method
       
    87     BULLSEYE_OFF
       
    88     Panic(KGsmuPanicDeprecatedMethod);
       
    89     BULLSEYE_RESTORE
       
    90     }
       
    91 
       
    92 // Was TGsmCompressionSettings::ExternalizeL(RWriteStream &) const
       
    93 EXPORT_C void PanicStub8()
       
    94     {
       
    95     // Ignore in code coverage - deprecated method
       
    96     BULLSEYE_OFF
       
    97     Panic(KGsmuPanicDeprecatedMethod);
       
    98     BULLSEYE_RESTORE
       
    99     }
       
   100 
       
   101 // Was TGsmCompressionSettings::HuffmanInitializationID(TInt &) const
       
   102 EXPORT_C void PanicStub9()
       
   103     {
       
   104     // Ignore in code coverage - deprecated method
       
   105     BULLSEYE_OFF
       
   106     Panic(KGsmuPanicDeprecatedMethod);
       
   107     BULLSEYE_RESTORE
       
   108     }
       
   109 
       
   110 // Was TGsmCompressionSettings::InternalizeL(RReadStream &)
       
   111 EXPORT_C void PanicStub10()
       
   112     {
       
   113     // Ignore in code coverage - deprecated method
       
   114     BULLSEYE_OFF
       
   115     Panic(KGsmuPanicDeprecatedMethod);
       
   116     BULLSEYE_RESTORE
       
   117     }
       
   118 
       
   119 // Was TGsmCompressionSettings::KeywordDictionaryID(TInt &) const
       
   120 EXPORT_C void PanicStub11()
       
   121     {
       
   122     // Ignore in code coverage - deprecated method
       
   123     BULLSEYE_OFF
       
   124     Panic(KGsmuPanicDeprecatedMethod);
       
   125     BULLSEYE_RESTORE
       
   126     }
       
   127 
       
   128 // Was CSmsMessage::NewL(CSmsPDU::TSmsPDUType, CSmsBufferBase *, TInt)
       
   129 EXPORT_C void PanicStub12()
       
   130     {
       
   131     // Ignore in code coverage - deprecated method
       
   132     BULLSEYE_OFF
       
   133     Panic(KGsmuPanicDeprecatedMethod);
       
   134     BULLSEYE_RESTORE
       
   135     }
       
   136 
       
   137 // Was CSmsMessage::NewL(TSms const &, CSmsBufferBase *, TInt, TInt, TInt)
       
   138 EXPORT_C void PanicStub13()
       
   139     {
       
   140     // Ignore in code coverage - deprecated method
       
   141     BULLSEYE_OFF
       
   142     Panic(KGsmuPanicDeprecatedMethod);
       
   143     BULLSEYE_RESTORE
       
   144     }
       
   145 
       
   146 // Was CSmsPDU::NewL(TSms const &, CCnvCharacterSetConverter &, RFs &, TInt, TInt, TInt)
       
   147 EXPORT_C void PanicStub14()
       
   148     {
       
   149     // Ignore in code coverage - deprecated method
       
   150     BULLSEYE_OFF
       
   151     Panic(KGsmuPanicDeprecatedMethod);
       
   152     BULLSEYE_RESTORE
       
   153     }
       
   154 
       
   155 // Was CSARStore::OpenL(TDesC16 const &, TUid)
       
   156 EXPORT_C void PanicStub15()
       
   157     {
       
   158     // Ignore in code coverage - deprecated method
       
   159     BULLSEYE_OFF
       
   160     Panic(KGsmuPanicDeprecatedMethod);
       
   161     BULLSEYE_RESTORE
       
   162     }
       
   163 
       
   164 // Was CSmsPDU::ParsedServiceCenterAddress(TGsmTelNumber &) const
       
   165 EXPORT_C void PanicStub16()
       
   166     {
       
   167     // Ignore in code coverage - deprecated method
       
   168     BULLSEYE_OFF
       
   169     Panic(KGsmuPanicDeprecatedMethod);
       
   170     BULLSEYE_RESTORE
       
   171     }
       
   172 
       
   173 // Was CSmsPDU::ParsedToFromAddress(TGsmTelNumber &) const
       
   174 EXPORT_C void PanicStub17()
       
   175     {
       
   176     // Ignore in code coverage - deprecated method
       
   177     BULLSEYE_OFF
       
   178     Panic(KGsmuPanicDeprecatedMethod);
       
   179     BULLSEYE_RESTORE
       
   180     }
       
   181 
       
   182 // Was TGsmCompressionSettings::PunctuatorID(TInt &) const
       
   183 EXPORT_C void PanicStub18()
       
   184     {
       
   185     // Ignore in code coverage - deprecated method
       
   186     BULLSEYE_OFF
       
   187     Panic(KGsmuPanicDeprecatedMethod);
       
   188     BULLSEYE_RESTORE
       
   189     }
       
   190 
       
   191 // Was TGsmCompressionSettings::SetCharacterGroupID(TInt, TInt)
       
   192 EXPORT_C void PanicStub19()
       
   193     {
       
   194     // Ignore in code coverage - deprecated method
       
   195     BULLSEYE_OFF
       
   196     Panic(KGsmuPanicDeprecatedMethod);
       
   197     BULLSEYE_RESTORE
       
   198     }
       
   199 
       
   200 // Was TGsmCompressionSettings::SetCharacterSet(TInt, TGsmCompressionSettings::TGsmCharacterSet)
       
   201 EXPORT_C void PanicStub20()
       
   202     {
       
   203     // Ignore in code coverage - deprecated method
       
   204     BULLSEYE_OFF
       
   205     Panic(KGsmuPanicDeprecatedMethod);
       
   206     BULLSEYE_RESTORE
       
   207     }
       
   208 
       
   209 // Was CSmsMessage::SetCompressionSettings(TGsmCompressionSettings const &)
       
   210 EXPORT_C void PanicStub21()
       
   211     {
       
   212     // Ignore in code coverage - deprecated method
       
   213     BULLSEYE_OFF
       
   214     Panic(KGsmuPanicDeprecatedMethod);
       
   215     BULLSEYE_RESTORE
       
   216     }
       
   217 
       
   218 // Was CSARStore::SetExtraStreamIdL(TStreamId)
       
   219 EXPORT_C void PanicStub22()
       
   220     {
       
   221     // Ignore in code coverage - deprecated method
       
   222     BULLSEYE_OFF
       
   223     Panic(KGsmuPanicDeprecatedMethod);
       
   224     BULLSEYE_RESTORE
       
   225     }
       
   226 
       
   227 // Was TGsmCompressionSettings::SetHuffmanInitializationID(TInt, TInt)
       
   228 EXPORT_C void PanicStub23()
       
   229     {
       
   230     // Ignore in code coverage - deprecated method
       
   231     BULLSEYE_OFF
       
   232     Panic(KGsmuPanicDeprecatedMethod);
       
   233     BULLSEYE_RESTORE
       
   234     }
       
   235 
       
   236 // Was TGsmCompressionSettings::SetKeywordDictionaryID(TInt, TInt)
       
   237 EXPORT_C void PanicStub24()
       
   238     {
       
   239     // Ignore in code coverage - deprecated method
       
   240     BULLSEYE_OFF
       
   241     Panic(KGsmuPanicDeprecatedMethod);
       
   242     BULLSEYE_RESTORE
       
   243     }
       
   244 
       
   245 // Was CSmsPDU::SetParsedServiceCenterAddressL(TGsmTelNumber const &)
       
   246 EXPORT_C void PanicStub25()
       
   247     {
       
   248     // Ignore in code coverage - deprecated method
       
   249     BULLSEYE_OFF
       
   250     Panic(KGsmuPanicDeprecatedMethod);
       
   251     BULLSEYE_RESTORE
       
   252     }
       
   253 
       
   254 // Was CSmsPDU::SetParsedToFromAddressL(TGsmTelNumber const &)
       
   255 EXPORT_C void PanicStub26()
       
   256     {
       
   257     // Ignore in code coverage - deprecated method
       
   258     BULLSEYE_OFF
       
   259     Panic(KGsmuPanicDeprecatedMethod);
       
   260     BULLSEYE_RESTORE
       
   261     }
       
   262 
       
   263 // Was TGsmCompressionSettings::SetPunctuatorID(TInt, TInt)
       
   264 EXPORT_C void PanicStub27()
       
   265     {
       
   266     // Ignore in code coverage - deprecated method
       
   267     BULLSEYE_OFF
       
   268     Panic(KGsmuPanicDeprecatedMethod);
       
   269     BULLSEYE_RESTORE
       
   270     }
       
   271 
       
   272 // Was CGsmCompressionBase::CGsmCompressionBase(RFs &)
       
   273 EXPORT_C void PanicStub28()
       
   274     {
       
   275     // Ignore in code coverage - deprecated method
       
   276     BULLSEYE_OFF
       
   277     Panic(KGsmuPanicDeprecatedMethod);
       
   278     BULLSEYE_RESTORE
       
   279     }
       
   280 
       
   281 // Was TGsmCompressionSettings::TGsmCompressionSettings(void)
       
   282 EXPORT_C void PanicStub29()
       
   283     {
       
   284     // Ignore in code coverage - deprecated method
       
   285     BULLSEYE_OFF
       
   286     Panic(KGsmuPanicDeprecatedMethod);
       
   287     BULLSEYE_RESTORE
       
   288     }
       
   289 
       
   290 // Was CGsmCompressionBase::Reserved(void)
       
   291 EXPORT_C void PanicStub30()
       
   292     {
       
   293     // Ignore in code coverage - deprecated method
       
   294     BULLSEYE_OFF
       
   295     Panic(KGsmuPanicDeprecatedMethod);
       
   296     BULLSEYE_RESTORE
       
   297     }
       
   298 
       
   299 // Was CSARStore::CloseFile(void)
       
   300 EXPORT_C void PanicStub31()
       
   301     {
       
   302     // Ignore in code coverage - deprecated method
       
   303     BULLSEYE_OFF
       
   304     Panic(KGsmuPanicDeprecatedMethod);
       
   305     BULLSEYE_RESTORE
       
   306     }
       
   307 
       
   308 // Was CSARStore::OpenFileLC(void)
       
   309 EXPORT_C void PanicStub32()
       
   310     {
       
   311     // Ignore in code coverage - deprecated method
       
   312     BULLSEYE_OFF
       
   313     Panic(KGsmuPanicDeprecatedMethod);
       
   314     BULLSEYE_RESTORE
       
   315     }
       
   316 
       
   317 #endif // __EABI__