copyright update
fix for blank time in screen_blanker git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14117 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <NodeMonitor.h>
|
#include <NodeMonitor.h>
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <Roster.h>
|
#include <Roster.h>
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <InputServerFilter.h>
|
#include <InputServerFilter.h>
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
#include <Screen.h>
|
#include <Screen.h>
|
||||||
#include <StringView.h>
|
#include <StringView.h>
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PASSWORDWINDOW_H
|
#ifndef PASSWORDWINDOW_H
|
||||||
#define PASSWORDWINDOW_H
|
#define PASSWORDWINDOW_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SSAwindow.h"
|
#include "SSAwindow.h"
|
||||||
#include <View.h>
|
#include <View.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Debug.h>
|
#include <Debug.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <Screen.h>
|
#include <Screen.h>
|
||||||
@@ -127,7 +130,7 @@ ScreenSaverApp::MessageReceived(BMessage *message)
|
|||||||
bool
|
bool
|
||||||
ScreenSaverApp::QuitRequested()
|
ScreenSaverApp::QuitRequested()
|
||||||
{
|
{
|
||||||
if (fPref.LockEnable() && (system_time()-fBlankTime > fPref.PasswordTime())) {
|
if (fPref.LockEnable() && (system_time()-fBlankTime > (fPref.PasswordTime()-fPref.BlankTime()))) {
|
||||||
ShowPW();
|
ShowPW();
|
||||||
return false;
|
return false;
|
||||||
} else
|
} else
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCREEN_SAVER_APP_H
|
#ifndef SCREEN_SAVER_APP_H
|
||||||
@@ -30,7 +34,7 @@ private:
|
|||||||
PasswordWindow *fPww;
|
PasswordWindow *fPww;
|
||||||
|
|
||||||
thread_id fThreadID;
|
thread_id fThreadID;
|
||||||
uint32 fBlankTime;
|
bigtime_t fBlankTime;
|
||||||
BMessageRunner *fRunner;
|
BMessageRunner *fRunner;
|
||||||
|
|
||||||
void Shutdown();
|
void Shutdown();
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Copyright 2005, Jérôme Duval. All rights reserved.
|
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Debug.h>
|
#include <Debug.h>
|
||||||
#include <File.h>
|
#include <File.h>
|
||||||
#include <FindDirectory.h>
|
#include <FindDirectory.h>
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003, Michael Phipps. All rights reserved.
|
* Copyright 2003-2005, Haiku.
|
||||||
* Copyright 2005, Jérôme Duval. All rights reserved.
|
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Michael Phipps
|
||||||
|
* Jérôme Duval, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Screen.h>
|
#include <Screen.h>
|
||||||
#include <ScreenSaver.h>
|
#include <ScreenSaver.h>
|
||||||
#include <FindDirectory.h>
|
#include <FindDirectory.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user