src/Mimetypes.cpp
static void
addAttribute(BMessage& msg, const char* name, const char* publicName,
	int32 type, int32 width)
{
	msg.AddString("attr:name", name);
	msg.AddString("attr:public_name", publicName);
	msg.AddInt32("attr:type", type);
	msg.AddInt32("attr:width", width);
	msg.AddInt32("attr:alignment", B_ALIGN_LEFT);
	msg.AddBool("attr:extra", false);
	msg.AddBool("attr:viewable", true);
	msg.AddBool("attr:editable", true);
}
// add the given attribute to a BMessage for use as attr info
// borrowed from mailserver (thanks!)
add the given attribute to a BMessage for use as attr info
borrowed from mailserver (thanks!)
add the given attribute to a BMessage for use as attr info borrowed from mailserver ( thanks! )
static void
addAttribute(BMessage& msg, const char* name, const char* publicName,
	int32 type, int32 width)
{
	msg.AddString("attr:name", name);
	msg.AddString("attr:public_name", publicName);
	msg.AddInt32("attr:type", type);
	msg.AddInt32("attr:width", width);
	msg.AddInt32("attr:alignment", B_ALIGN_LEFT);
	msg.AddBool("attr:extra", false);
	msg.AddBool("attr:viewable", true);
	msg.AddBool("attr:editable", true);
}
static void addAttribute ( BMessage & msg , const char * name , const char * publicName , int32 type , int32 width ) { msg . AddString ( " " , name ) ; msg . AddString ( " " , publicName ) ; msg . AddInt32 ( " " , type ) ; msg . AddInt32 ( " " , width ) ; msg . AddInt32 ( " " , B_ALIGN_LEFT ) ; msg . AddBool ( " " , false ) ; msg . AddBool ( " " , true ) ; msg . AddBool ( " " , true ) ; }
add the given attribute to a BMessage for use as attr info
borrowed from mailserver (thanks!)
add the given attribute to a BMessage for use as attr info borrowed from mailserver ( thanks! )