28 #include <sbIPropertyArray.h>
29 #include <sbIPropertyManager.h>
30 #include <nsITreeView.h>
31 #include <nsAutoPtr.h>
46 NS_ENSURE_SUCCESS(rv, rv);
48 SetType(NS_LITERAL_STRING(
"smartmedialist_playlist"));
51 nsRefPtr<sbPropertyOperator> propOp;
53 rv = sbPropertyInfo::GetOPERATOR_EQUALS(op);
54 NS_ENSURE_SUCCESS(rv, rv);
56 NS_LITERAL_STRING(
"&smart.playlist.is"));
57 NS_ENSURE_TRUE(propOp, NS_ERROR_OUT_OF_MEMORY);
59 NS_ENSURE_SUCCESS(rv, rv);
61 rv = sbPropertyInfo::GetOPERATOR_NOTEQUALS(op);
62 NS_ENSURE_SUCCESS(rv, rv);
64 NS_LITERAL_STRING(
"&smart.playlist.isnot"));
65 NS_ENSURE_TRUE(propOp, NS_ERROR_OUT_OF_MEMORY);
67 NS_ENSURE_SUCCESS(rv, rv);
NS_IMPL_ISUPPORTS_INHERITED0(sbDummyPlaylistPropertyInfo, sbDummyPropertyInfo)
NS_DECL_ISUPPORTS_INHERITED sbDummyPlaylistPropertyInfo()
NS_IMETHOD SetType(const nsAString &aType)
nsCOMArray< sbIPropertyOperator > mOperators