summaryrefslogtreecommitdiff
path: root/library/backend/vobject_p.h
authoreilers <eilers>2002-10-22 09:07:07 (UTC)
committer eilers <eilers>2002-10-22 09:07:07 (UTC)
commitbbb2c5fee87baa345ff5c16404204054442f5c11 (patch) (unidiff)
tree7a61b3afc81c9c3d96bfe12e82689843bf58d972 /library/backend/vobject_p.h
parent896bea1ee64705bfc8753d7b3d1d51fddf43efaf (diff)
downloadopie-bbb2c5fee87baa345ff5c16404204054442f5c11.zip
opie-bbb2c5fee87baa345ff5c16404204054442f5c11.tar.gz
opie-bbb2c5fee87baa345ff5c16404204054442f5c11.tar.bz2
fixing incompatibility to orignal sharp rom
Diffstat (limited to 'library/backend/vobject_p.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/vobject_p.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/library/backend/vobject_p.h b/library/backend/vobject_p.h
index 0d0a2a8..bab22bb 100644
--- a/library/backend/vobject_p.h
+++ b/library/backend/vobject_p.h
@@ -398,8 +398,23 @@ extern VObject* Parse_MIME_FromFile(CFile *file);
398extern VObject* Parse_MIME_FromFile(FILE *file); 398extern VObject* Parse_MIME_FromFile(FILE *file);
399#endif 399#endif
400 400
401#define __SHARP_COMP_
402
403#ifndef __SHARP_COMP_
401extern DLLEXPORT(const char *) vObjectTypeInfo(VObject *o); 404extern DLLEXPORT(const char *) vObjectTypeInfo(VObject *o);
402 405
406#else
407// This function is not available in the Sharp ROM for SL 5500 !
408// Therefore I have to move it into the header file.. (se)
409
410inline const char* vObjectTypeInfo(VObject *o)
411{
412 const char *type = vObjectName( o );
413 if ( strcmp( type, "TYPE" ) == 0 )
414 type = vObjectStringZValue( o );
415 return type;
416}
417#endif
403 418
404#endif /* __VOBJECT_H__ */ 419#endif /* __VOBJECT_H__ */
405 420