Logo Search packages:      
Sourcecode: qlix version File versions  Download package

void MTP::GenericFileObject::Associate ( GenericFileObject *  in_obj  )  [inherited]

Sets the objects file association, a file cannot be associated with another file

Parameters:
in_obj the object to associate this object with

Definition at line 77 of file MtpObject.cpp.

{
  if (Type() == MtpFile)
   assert(in_obj->Type() != MtpFile);

  //assert that we don't call this function twice on the same object
  assert(!_association);
   _association = in_obj; 
}


Generated by  Doxygen 1.6.0   Back to index