sftemplateswizard/com.nokia.s60tools.templates.tests/data/templates/empty_c_class_header_template.h
author dpodwall
Tue, 12 Jan 2010 13:17:53 -0600
changeset 0 61163b28edca
permissions -rw-r--r--
initial EPL conversion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
/*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
* All rights reserved.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
* This component and the accompanying materials are made available
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
* which accompanies this distribution, and is available
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
* Initial Contributors:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
* Contributors:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
* Description:  ?Description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
*/
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
#ifndef ?C_CLASSNAME_H
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
#define ?C_CLASSNAME_H
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
#include <?include_file>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
#include "?include_file"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
class ?forward_classname;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    29
/**  ?description */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    30
extern ?data_type;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    31
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    32
/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    33
 * ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    34
 *
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    35
 * @since S60 ?S60_version
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    36
 * @param ?arg1 ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    37
 * @return ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    38
 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    39
?type ?function_name( ?arg_list );
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    40
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    41
/**  ?description */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    42
const ?type ?constant_var = ?constant;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    43
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    44
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    45
/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    46
 *  ?one_line_short_description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    47
 *  ?more_complete_description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    48
 *
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    49
 *  @code
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    50
 *   ?good_class_usage_example(s)
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    51
 *  @endcode
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    52
 *
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    53
 *  @lib ?library
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    54
 *  @since S60 ?S60_version *** for example, S60 v3.0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    55
 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    56
class ?classname : public ?base_class_list
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    57
    {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    58
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    59
    friend class ?class1;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    60
    friend class ?class2;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    61
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    62
public:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    63
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    64
    /**  ?description */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    65
    enum ?declaration
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    66
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    67
    /**  ?description */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    68
    typedef ?declaration
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    69
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    70
    ?IMPORT_C static ?classname* NewL();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    71
    ?IMPORT_C static ?classname* NewLC();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    72
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    73
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    74
     * Two-phased constructor.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    75
     * @param ?arg1 ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    76
     * @param ?arg2 ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    77
     */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    78
    ?IMPORT_C static ?classname* NewL(?type1 ?arg1, ?type2 ?arg2);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    79
    
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    80
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    81
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    82
    * Destructor.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    83
    */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    84
    virtual ~?classname();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    85
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    86
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    87
     * ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    88
     *
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    89
     * @since S60 ?S60_version
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    90
     * @param ?arg1 ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    91
     * @param ?arg2 ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    92
     * @return ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    93
     */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    94
    ?IMPORT_C ?type ?member_function( ?type1 ?arg1, ?type2 ?arg2 );
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    95
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    96
// from base class ?base_class1
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    97
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    98
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    99
     * From ?base_class1.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   100
     * ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   101
     *
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   102
     * @since S60 ?S60_version
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   103
     * @param ?arg1 ?description
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   104
     */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   105
    ?IMPORT_C ?type ?member_function( ?type ?arg1 );
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   106
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   107
// from base class ?base_class2
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   108
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   109
protected:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   110
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   111
// from base class ?base_class2
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   112
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   113
// from base class ?base_class3
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   114
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   115
private:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   116
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   117
    ?classname();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   118
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   119
    void ConstructL();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   120
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   121
private: // data
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   122
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   123
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   124
     * ?description_of_member
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   125
     */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   126
    ?type ?member_name;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   127
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   128
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   129
     * ?description_of_pointer_member
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   130
     * Own.  *** Write "Own" if this class owns the object pointed to; in
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   131
                 other words, if this class is responsible for deleting it.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   132
     */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   133
    ?type* ?member_name;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   134
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   135
    /**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   136
     * ?description_of_pointer_member
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   137
     * Not own.  *** Write "Not own" if some other class owns this object.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   138
     */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   139
    ?type* ?member_name;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   140
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   141
    };
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   142
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   143
#include "?include_file.inl"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   144
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   145
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   146
#endif // ?C_CLASSNAME_H