Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25916/include
Modified Files:
MimeType.h
Log Message:
added ShouldShowInline()
Index: MimeType.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MimeType.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- MimeType.h 3 Apr 2003 19:41:12 -0000 1.2
+++ MimeType.h 8 Sep 2004 21:56:07 -0000 1.3
@@ -115,4 +115,10 @@
String GetFull() const { return GetType() + _T('/') + GetSubType(); }
+ /// return true if this is a type which it makes sense to show inline
+ bool ShouldShowInline() const
+ {
+ return m_primary == TEXT || m_primary == IMAGE || m_primary == VIDEO;
+ }
+
//@}
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates