telepathygabble/src/telepathy-errors-enumtypes.c
changeset 10 59927b2d3b75
parent 0 d0f3a028347a
equal deleted inserted replaced
0:d0f3a028347a 10:59927b2d3b75
     1 /*
       
     2  * telepathy-errors-enumtypes.c - Source for Gabble service discovery
       
     3  *
       
     4  * Copyright (C) 2006 Collabora Ltd.
       
     5  * 
       
     6  *
       
     7  * This library is free software; you can redistribute it and/or
       
     8  * modify it under the terms of the GNU Lesser General Public
       
     9  * License as published by the Free Software Foundation; either
       
    10  * version 2.1 of the License, or (at your option) any later version.
       
    11  *
       
    12  * This library is distributed in the hope that it will be useful,
       
    13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    15  * Lesser General Public License for more details.
       
    16  *
       
    17  * You should have received a copy of the GNU Lesser General Public
       
    18  * License along with this library; if not, write to the Free Software
       
    19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    20  *
       
    21  * -- LET'S DISCO!!!  \o/ \o_ _o/ /\o/\ _/o/- -\o\_ --
       
    22  */
       
    23 /* Generated data (by glib-mkenums) */
       
    24 //vinod: changed system path to local
       
    25 #include "telepathy-errors.h"
       
    26 
       
    27 #ifdef EMULATOR
       
    28 #include "libgabble_wsd_solution.h"
       
    29 
       
    30 	GET_STATIC_VAR_FROM_TLS(etype,gabble_enum_types,GType)
       
    31 	#define etype (*GET_WSD_VAR_NAME(etype,gabble_enum_types,s)())
       
    32 
       
    33 #endif
       
    34 
       
    35 /* enumerations from "telepathy-errors.h" */
       
    36 #ifdef SYMBIAN
       
    37 EXPORT_C
       
    38 #endif
       
    39 GType
       
    40 telepathy_errors_get_type (void)
       
    41 {
       
    42 
       
    43 #ifndef EMULATOR
       
    44   static GType etype = 0;
       
    45 #endif
       
    46   
       
    47   if (etype == 0) {
       
    48     static const GEnumValue values[] = {
       
    49       { ChannelBanned, "ChannelBanned", "ChannelBanned" },
       
    50       { ChannelFull, "ChannelFull", "ChannelFull" },
       
    51       { ChannelInviteOnly, "ChannelInviteOnly", "ChannelInviteOnly" },
       
    52       { Disconnected, "Disconnected", "Disconnected" },
       
    53       { InvalidArgument, "InvalidArgument", "InvalidArgument" },
       
    54       { InvalidHandle, "InvalidHandle", "InvalidHandle" },
       
    55       { NetworkError, "NetworkError", "NetworkError" },
       
    56       { NotAvailable, "NotAvailable", "NotAvailable" },
       
    57       { NotImplemented, "NotImplemented", "NotImplemented" },
       
    58       { PermissionDenied, "PermissionDenied", "PermissionDenied" },
       
    59       { 0, NULL, NULL }
       
    60     };
       
    61     etype = g_enum_register_static ("TelepathyErrors", values);
       
    62   }
       
    63   return etype;
       
    64 }
       
    65 
       
    66 /* Generated data ends here */
       
    67