Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-316

Service can't provide the same interface with different attributes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 1.0.2
    • 1.0.0
    • Service Framework
    • None

    Description

      If a service provider wishes to implement a certain interface multiple times (e.g. parametrized by available hardware or software at installation time), it can't provide them all (unless they have different implementation versions, but that is a hack).

      Basically each interface will have different QServiceInterfaceDescriptors (e.g. operator== returns false, since it considers custom attributes), and these descriptors are passed into the service's createInstance methods, so it's just the XML parser that decides that this is not allowed (since it only checks interface name and version, and implementation version).

      Attachments

        Activity

          People

            alex Alex (closed Nokia identity) (Inactive)
            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: