adding inlines

This commit is contained in:
Wayne Chen 2018-09-10 17:10:13 -07:00
parent e5a87aa58c
commit c194c236f1
6 changed files with 6 additions and 19 deletions

View file

@ -3493,10 +3493,6 @@ bool Application::isServerlessMode() const {
return false;
}
bool Application::isInterstitialMode() const {
return _interstitialMode;
}
void Application::setIsInterstitialMode(bool interstitialMode) {
if (_interstitialMode != interstitialMode) {
_interstitialMode = interstitialMode;

View file

@ -310,7 +310,7 @@ public:
void saveNextPhysicsStats(QString filename);
bool isServerlessMode() const;
bool isInterstitialMode() const;
bool isInterstitialMode() const { return _interstitialMode; }
void replaceDomainContent(const QString& url);

View file

@ -136,12 +136,4 @@ void OctreePacketProcessor::startEntitySequence() {
bool OctreePacketProcessor::isLoadSequenceComplete() const {
return _safeLanding->isLoadSequenceComplete();
}
bool OctreePacketProcessor::isEntitiesRenderReady() const {
return _safeLanding->entitiesRenderReady();
}
float OctreePacketProcessor::domainLoadingProgress() {
return _safeLanding->loadingProgressPercentage();
}
}

View file

@ -27,8 +27,8 @@ public:
void startEntitySequence();
bool isLoadSequenceComplete() const;
bool isEntitiesRenderReady() const;
float domainLoadingProgress();
bool isEntitiesRenderReady() const { return _safeLanding->entitiesRenderReady(); }
float domainLoadingProgress() { return _safeLanding->loadingProgressPercentage(); }
signals:
void packetVersionMismatch();

View file

@ -48,7 +48,6 @@ QString AddressManager::getProtocol() const {
QUrl AddressManager::currentAddress(bool domainOnly) const {
QUrl hifiURL = _domainURL;
if (!domainOnly && hifiURL.scheme() == URL_SCHEME_HIFI) {
hifiURL.setPath(currentPath());
}
@ -155,7 +154,8 @@ void AddressManager::goForward() {
void AddressManager::goToLastAddress() {
// this should always return something as long as the URL isn't empty.
handleUrl(_lastVisitedURL, LookupTrigger::AttemptedRefresh);
handleUrl(_lastVisitedURL,
LookupTrigger::AttemptedRefresh);
}
void AddressManager::storeCurrentAddress() {

View file

@ -149,7 +149,6 @@ public:
UserInput,
Back,
Forward,
//Retry,
StartupFromSettings,
DomainPathResponse,
Internal,