346 : mServer(server) |
346 : mServer(server) |
347 {} |
347 {} |
348 |
348 |
349 virtual ~MemSpyServer() { delete mServer; } |
349 virtual ~MemSpyServer() { delete mServer; } |
350 |
350 |
351 ProcessId id() const { return mServer->Id(); } |
351 ProcessId processId() const { return mServer->ProcessId(); } |
|
352 |
|
353 ThreadId threadId() const { return mServer->ThreadId(); } |
352 |
354 |
353 QString name() const { return QString((QChar*) mServer->Name().Ptr(), mServer->Name().Length()); } |
355 QString name() const { return QString((QChar*) mServer->Name().Ptr(), mServer->Name().Length()); } |
354 |
356 |
355 int sessionCount() const { return mServer->SessionCount(); } |
357 int sessionCount() const { return mServer->SessionCount(); } |
356 |
358 |
427 |
429 |
428 bool disabled() const { return mData->Disabled(); } |
430 bool disabled() const { return mData->Disabled(); } |
429 |
431 |
430 private: |
432 private: |
431 CMemSpyApiEComImplementation *mData; |
433 CMemSpyApiEComImplementation *mData; |
|
434 }; |
|
435 |
|
436 class MemSpyWindowGroup |
|
437 { |
|
438 public: |
|
439 MemSpyWindowGroup(CMemSpyApiWindowGroup* group) |
|
440 : mData(group) |
|
441 {} |
|
442 |
|
443 virtual ~MemSpyWindowGroup() { delete mData; } |
|
444 |
|
445 int id() const { return mData->Id(); } |
|
446 |
|
447 QString name() const { return QString((QChar*) mData->Name().Ptr(), mData->Name().Length()); } |
|
448 |
|
449 QString fullName() const { return QString((QChar*) mData->FullName().Ptr(), mData->FullName().Length()); } |
|
450 |
|
451 ThreadId threadId() const { return mData->ThreadId(); } |
|
452 |
|
453 int ordinalPosition() const { return mData->OrdinalPosition(); } |
|
454 |
|
455 int priority() const { return mData->Priority(); } |
|
456 |
|
457 int windowGroupHandle() const { return mData->WindowGroupHandle(); } |
|
458 |
|
459 int uid() const { return mData->Uid().iUid; } |
|
460 |
|
461 bool isBusy() const { return mData->IsBusy(); } |
|
462 |
|
463 bool isSystem() const { return mData->IsSystem(); } |
|
464 |
|
465 bool isHidden() const { return mData->IsHidden(); } |
|
466 |
|
467 bool isFocused() const { return mData->IsFocused(); } |
|
468 |
|
469 QString caption() const { return QString((QChar*) mData->Caption().Ptr(), mData->Caption().Length()); } |
|
470 |
|
471 QString docName() const { return QString((QChar*) mData->DocName().Ptr(), mData->DocName().Length()); } |
|
472 |
|
473 private: |
|
474 CMemSpyApiWindowGroup *mData; |
432 }; |
475 }; |
433 |
476 |
434 |
477 |
435 class MemSpyDwoProgressTracker : public QObject, public CActive |
478 class MemSpyDwoProgressTracker : public QObject, public CActive |
436 { |
479 { |
595 |
638 |
596 QList<MemSpyEComInterface*> getEComInterfaces(int categoryId); |
639 QList<MemSpyEComInterface*> getEComInterfaces(int categoryId); |
597 |
640 |
598 QList<MemSpyEComImplementation*> getEComImplementations(int interfaceId); |
641 QList<MemSpyEComImplementation*> getEComImplementations(int interfaceId); |
599 |
642 |
|
643 QList<MemSpyWindowGroup*> getWindowGroups(); |
|
644 |
600 MemSpyDwoTracker* createDeviceWideOperation(DeviceWideOperation operation); |
645 MemSpyDwoTracker* createDeviceWideOperation(DeviceWideOperation operation); |
601 |
646 |
602 MemSpyKernelHeapDumpTracker* createKernelHeapDumpTracker(); |
647 MemSpyKernelHeapDumpTracker* createKernelHeapDumpTracker(); |
603 |
648 |
604 MemSpySwmtDumpTracker* createSwmtDumpTracker(); |
649 MemSpySwmtDumpTracker* createSwmtDumpTracker(); |