calendarui/inc/calenagendautils.h
changeset 58 ef813d54df51
parent 50 579cc610882e
--- a/calendarui/inc/calenagendautils.h	Tue Jul 06 14:14:56 2010 +0300
+++ b/calendarui/inc/calenagendautils.h	Wed Aug 18 09:47:38 2010 +0300
@@ -23,7 +23,7 @@
 
 //  INCLUDES
 
-#include "agendaentry.h"
+#include <agendaentry.h>
 #include <qglobal.h> // Q_DECL_EXPORT macro
 
 #ifdef  CALENDATEUTILS_DLL
@@ -52,6 +52,14 @@
          **/
         static bool endsAtStartOfDay( AgendaEntry& entry,
                                                         const QDateTime& day );
+        
+        /**
+         * Checks if the given entry is an all-day
+         * Need to call this API only for entry types other than EEvent 
+         * @param entry Entry for which all-day attribute is being queried
+         * @returns True, If entry is an all-day else False
+         */
+        static bool CalenAgendaUtils::isAlldayEvent( const AgendaEntry& entry );
 
     };